11f740192c
* JAVA-18131 Upgrade core-java-modules to JDK 11 * JAVA-18131 Fixed pom conflicts * JAVA-18131 Upgraded ASM and updated expected test results * JAVA-18131 Fixed FormatNumberUnitTest and removed core-java-security from upgrading to 17 * JAVA-18131 Removed core-java-sun from upgrading * JAVA-18131 Removed core-java-jvm-2, fixed number test * JAVA-18131 Removed core-java-sun from upgrading to 11 * JAVA-18131 Removed all edited submodules from pre-jdk9 * JAVA-18131 removed pre-jpms from pre-jdk9 * JAVA-18131 Removed core-java-numbers-3 from pre-jdk9 profiles * JAVA-18131 Cleanup * JAVA-18131 Cleanup 2 - Removed upgraded submodules from core-java-modules * JAVA-18131 Cleanup completed * JAVA-18131 Replaced core-java-modules submodules in main pom with core-java-modules * JAVA-18131 Replaced core-java-modules submodules in main pom, continued * JAVA-18131 Core-java-nio-2, core-java-serialization back to pre-jdk9 * JAVA-18131 Try removing math-3 from core-java-modules and explicitly refer in parent pom * JAVA-18131 Removed -lang, -nio, -streams-2, -math-3, -conversions-2 from jdk9 profiles * JAVA-18131 Corrected conversions-2 module * JAVA-18131 Review fixes * JAVA-18131 Fixed -nio, re-upgraded -lang * JAVA-18131 Adapted -nio for JDK 11, returned -lang to JDK 8 * JAVA-18131 Final corrections |
||
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml |
README.md
Core Java JVM Cookbooks and Examples
This module contains articles about working with the Java Virtual Machine (JVM).
Relevant Articles:
- Method Inlining in the JVM
- JVM Log Forging
- Guide to Java Instrumentation
- Class Loaders in Java
- A Guide to System.exit()
- Guide to System.gc()
- Runtime.getRuntime().halt() vs System.exit() in Java
- How to Get the Size of an Object in Java
- What Causes java.lang.OutOfMemoryError: unable to create new native thread
- View Bytecode of a Class File in Java
- More articles: [next -->]
To run the code for the Instrumentation: https://www.baeldung.com/java-instrumentation article: 1- build the module 2- run the module 3 times to build the 3 jars: mvn install -PbuildAgentLoader mvn install -PbuildApplication mvn install -PbuildAgent 3- update the commands in the article with the exact names of the jars generated in the target folder 4- update the path in the AgentLoader class with the path of the agent on your system