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

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, ∼1281🔥, 0💬

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, ∼1229🔥, 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, ∼1215🔥, 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, ∼1197🔥, 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, ∼1170🔥, 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, ∼1159🔥, 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, ∼1108🔥, 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, ∼1105🔥, 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, ∼1083🔥, 0💬

"-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, ∼1074🔥, 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, ∼1063🔥, 0💬

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, ∼1042🔥, 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, ∼1027🔥, 0💬

"-XX:ParallelGCThreads=6" - Young GC Parallel Threads
This section demonstrates that the '-XX:ParallelGCThreads=6' option can be used to control the number of threads used in Young GC parallel phases.
2022-10-01, ∼993🔥, 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, ∼983🔥, 0💬

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, ∼975🔥, 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, ∼969🔥, 2💬

💬 2017-04-28 micahel: useful

"-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, ∼956🔥, 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, ∼947🔥, 1💬

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, ∼915🔥, 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, ∼914🔥, 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;

Current Time in Milliseconds and Nanoseconds
This section provides a tutorial example on how to obtain the current time in milliseconds and nanoseconds using currentTimeMillis() and nanoTime() methods.
2017-08-09, ∼894🔥, 1💬

"-Xlog:gc" - Default GC Logging Level: INFO
This section describes the garbage collection logging option, '-Xlog:gc', which prints out log messages from the GC channel at the INFO level.
2022-10-01, ∼893🔥, 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, ∼879🔥, 1💬

💬 2018-06-24 Maria: Cool!

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

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