< 1 2 3 4 5 6 7 > >>   ∑:301  Sort:Date

The Z Garbage Collector (ZGC) - "+XX:+UseZGC"
This chapter provides tutorial notes and example codes on the Garbage First (ZGC) Collector specified by the '+XX:+UseZGC' JVM option. Topics include introduction the ZGC Collector; ZGC log message format; Stop-The-World behavior of ZGC Collector.
2022-10-01, 1074🔥, 0💬

What Is HotSpot JVM
This section describes what is HotSpot - A Java Virtual Machine (JVM) originally developed by Sun Microsystems and now supported by Oracle Corporation.
2022-10-01, 1067🔥, 0💬

Install OpenJ9 JVM with OpenJDK on CentOS Systems
This section provides a tutorial example on how to download and install a binary combination of different OpenJDK and OpenJ9 JVM releases for CentOS systems.
2022-10-01, 1063🔥, 0💬

"-XX:+PrintTenuringDistribution" - Tunuring Distribution
This section describes the garbage collection logging option, '-XX:+PrintTenuringDistributio n',which prints the tenuring distribution of objects in the survivor space after each Minor GC.
2022-10-01, 1061🔥, 0💬

"-XX:CMSInitiatingOccupancyFraction=20" - Initiate CMS
This section demonstrates that the '-XX:+UseCMSInitiatingOccupanc yOnly'and '-XX:CMSInitiatingOccupancyFra ction=20'JVM options can initiate CMS collector when Tenured generation occupancy reaches 20%.
2022-10-01, 1051🔥, 0💬

loadClass() Method - Loading Classes Explicitly
This section provides a tutorial example on how to load classes into JVM in 3 ways: loadClass() method, Class.forName() method, and 'new' operator.
2022-10-01, 1039🔥, 0💬

Class Loading Problem - JAR Hell
This section provides a tutorial example on how to use ClassLoader.getSystemResources ()method to return all locations of the same class file. This is useful when you are dealing with JAR hell problem.
2022-10-01, 898🔥, 0💬

getSystemResource() Method - Finding Files
This section provides a tutorial example on how to find resource files using the ClassLoader.getSystemResource( )method. A resource file can an image file, a class file, or any file.
2022-10-01, 893🔥, 0💬

"-XX:+PrintHeapAtGC" - Print Heap Summary per GC
This section describes the garbage collection logging option, '-XX:+PrintHeapAtGC', which prints two snapshots of the heap memory for each GC, one before the GC and another after the GC.
2022-10-01, 890🔥, 0💬

"-XX:TargetSurvivorRatio" - Second Tenuring Condition
This section describes the '-XX:TargetSurvivorRatio' JVM option, with sets the maximum survivor space usage percentage. When this limit is reached, all remaining live objects will be promoted to Tenured generation regardless of their age.
2022-10-01, 889🔥, 0💬

What Is Runtime?
This section describes what is Runtime - A Java built-in class, java.lang.Runtime, that presents running instances of a Java Virtual Machine (JVM).
2017-04-28, 886🔥, 2💬

💬 2017-04-28 micahel: useful

"-Xlog:gc+ergo=trace" - Minor GC Report
This section provides examples of log messages generated from '--Xlog:gc+ergo=trace' that tells us what happened at each Parallel Minor GC.
2022-10-01, 857🔥, 0💬

Accessing System Environment Variables
This section provides a tutorial example on how to access environment variables defined in the operating system using the System.getenv() method.
2017-01-14, 841🔥, 2💬

💬 2017-01-14 Herong: Martin, The code has been corrected now. Thanks.

💬 2017-01-09 Martin Manek: Hi, line "java.util.Map envs = System.getenv();" is two times in code and "out is missing. PrintStream out = System.out;

Young Generation Collectors - Serial, PS, ParNew, G1
This section describes Garbage Collectors used for the Young generation: Serial, Parallel Scavenge (PS), Parallel New (ParNew), and Garbage First (G1).
2022-10-01, 826🔥, 0💬

"-Xlog:gc+heap=trace" - GC+HEAP Log Messages
This section describes the garbage collection logging option, '-Xlog:gc+heap=trace', which prints two snapshots of the heap of each GC, one before the GC and another after the GC. It also prints heap changes of each GC.
2022-10-01, 815🔥, 0💬

"-XX:ConcGCThreads=3" - Old GC Concurrent Threads
This section demonstrates that the '-XX:ConcGCThreads=3' option can be used to control the number of threads used in 1 of the CMS concurrent phases: Mark phase.
2022-10-01, 812🔥, 0💬

Java Exception: "java.lang.OutOfMemoryError: Java heap space"
This section provides a tutorial example on how JVM expands the Heap space to allocate more objects and leads to the 'java.lang.OutOfMemoryError: Java heap space' Java exception, if it is not allowed to expand any more.
2018-06-24, 794🔥, 1💬

💬 2018-06-24 Maria: Cool!

💬 2017-08-10 xionghongzhi: awsome artical!!!!!! thx!!!

Parallel New (ParNew) Collector for Minor GC
This section demonstrates that the '-XX:+UseConcMarkSweepGC' JVM option invokes the Parallel New (ParNew) collector for Young generation GC.
2022-10-01, 789🔥, 0💬

Parallel Collector Adaptive Size Policy
This section describes the Adaptive Size Policy supported by the Parallel Collector to dynamically change heap generation sizes to latency, throughput and footprint goals sequentially.
2022-10-01, 783🔥, 0💬

Parallel Collector - "+XX:+UseParallelGC"
This chapter provides tutorial notes and example codes on the Parallel Collector specified by the '+XX:+UseParallelGC' JVM option. Topics include introduction to Parallel Collector log message format; multiple parallel GC threads; '-XX:+UseAdaptiveSizePolicy' option to dynamically changing 'eden', '...
2022-10-01, 772🔥, 0💬

"-XX:+PrintFlagsFinal" - Print JVM Options
This section describes the '-XX:+PrintFlagsFinal' JVM option, which prints all options and their values used by the JVM.
2022-10-01, 764🔥, 0💬

Running Java HotSpot Client VM
This section provides you a tutorial example on how to run Java HotSpot Client VM - run Java command in default mode: 'java'.
2022-10-01, 755🔥, 0💬

"-Xint" - Running in Interpreted-Only Mode
This section provides a tutorial example on how to run benchmark tests in interpreted-only mode using the '-Xint' JVM option.
2022-12-10, 734🔥, 1💬

GC Log Message Format for Serial Collector
This section provides explanations on GC log messages generated from the Serial Collector.
2022-10-01, 730🔥, 0💬

< 1 2 3 4 5 6 7 > >>   ∑:301  Sort:Date