Just-in-Time Compilation, Ahead-of- Further Information (2) Time Compilation ● Books: – Scott Oaks. Java Performance: In-Depth Advice for Péter Jeszenszky Tuning and Programming Java 8, 11, and Beyond. Faculty of Informatics, University of Debrecen 2nd ed. O'Reilly, 2020.
[email protected] ● See Chapter 4, titled Working with the JIT Compiler. ● Code: https://github.com/ScottOaks/JavaPerformanceTuning Last modified: March 7, 2021 3 Further Information (1) HotSpot VM Implementations (1) ● Oracle resources: ● In Oracle JDK/JRE 8 and earlier, different implementations of the – The Java Virtual Machine Specification. Java SE 15 Edition. September HotSpot JVM were provided (client VM, server VM, and minimal VM). 2020. https://docs.oracle.com/javase/specs/ – They can be launched by passing the option -client, -server, or - – Java Virtual Machine Guide. Release 15. September 2020. minimal to the java command, respectively. https://docs.oracle.com/en/java/javase/15/vm/ ● Later JDKs and JREs provide only one implementation, namely, the ● OpenJDK resources: server VM. – OpenJDK Wiki – HotSpot Internals ● See: https://wiki.openjdk.java.net/display/HotSpot/Main – Java SE 8 Documentation – Java Virtual Machine Technology ● HotSpot Runtime Overview https://docs.oracle.com/javase/8/docs/technotes/guides/vm/ https://openjdk.java.net/groups/hotspot/docs/RuntimeOverview.html – Java Virtual Machine Guide, Release 15 – Java Virtual Machine Technology ● Presentations https://wiki.openjdk.java.net/display/HotSpot/Presentations Overview – HotSpot Glossary of Terms https://docs.oracle.com/en/java/javase/15/vm/java-virtual-machine-technology https://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html -overview.html 2 4 Extra and Advanced JVM Options HotSpot VM Implementations (2) (1) ● Information about the JVM: ● These options aren't guaranteed to be supported by all JVM implementations and are subject to – See also the java.vm.name system property.