Java Magazine, March/April 2016
ORACLE COM JAVAMAGAZINE MARCH APRIL 2016 13 ART BY I HUA CHEN Inside Java and the JVM T here is little knowledge in programming as important to the ideal design and implementation of software as the understanding of how exactly code is executed On the JVM this means knowing the machines internal operations and how the Java compiler transforms source code into executable bytecodes Quite apart from their role in better programs the mechanics of Java and the JVM are uniquely fascinating Looking only at the JVM can you name one other software tool that contains not one but two compilers three memory reclamation tools and a specialized performance analyzer that is itself compiled at runtime Thats why we look into the fundamentals of just in time JIT compilation in the JVM page 14 we compare the performance of different garbage collectors page 20 and we update an article on the JVMs code cache and its effects on performance page 24 To these we add deep dives into how Java itself works how annotations are handled and how you can write your own annotations page 35 plus examining how the Java Collections Framework was optimized using an unusual technique that is available to you in your code page 28 The rest of the issue see the Table of Contents shows off a new JVM language better persistence in Java EE and how enums work in Java topped of by our famous language quiz Enjoy
You must have JavaScript enabled to view digital editions.