A guide to JVM interpretation and compilation

Posted by bob on Aug 9, 2022 11:50 PM EDT
Opensource.com; By Jayashree Huttanagoudar
Mail this story
Print this story

Java is a platform-independent language. Programs are converted to bytecode after compilation. This bytecode gets converted to machine code at runtime. An interpreter emulates the execution of bytecode instructions for the abstract machine on a specific physical machine. Just-in-time (JIT) compilation happens at some point during execution, and ahead-of-time (AOT) compilation happens during build time.  This article explains when an interpreter comes into play and when JIT and AOT will occur. I also discuss the trade-offs between JIT and AOT.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Cloud, Developer, Oracle, Red Hat, Sun

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.