1 2 3 4 5 6 > >>   Sort: Rank

"-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, 349👍, 1💬

Downloading and Installing JRockit R28.2.7
This section provides a tutorial example on how to download and install Oracle JRockit 6 R28.2.7 on Windows systems.
2022-12-10, 6321👍, 3💬

💬 2018-10-11 cxtr: tanks good

Array Class Introspection
This section provides a tutorial example on how to reflect arrays as classes and introspect its properties like superclass, element type, etc.
2022-12-10, 136👍, 1💬

"-XX:NewRatio" - Ratio of Tenured and "new" Generation
This section describes the default 'new' ratio (size ratio of tenured vs. 'new' generation).
2022-11-09, 552👍, 1💬

💬 2022-11-09 djs: Thank you for this great explanation :)

Shutting Down or Terminating the JVM Instance
This section provides a tutorial example on how to shutdown or terminate the JVM instance using exit() or halt() method.
2022-10-01, 1027👍, 0💬

"-XX:SurvivorRatio" - Ratio of Eden and Survivor Space
This section describes the default 'new' ratio (size ratio of tenured vs. 'new' generation).
2022-10-01, 732👍, 0💬

"-XX:ParallelGCThreads" - # of Threads
This section describes how to use the '-XX:ParallelGCThreads' JVM option to control the number threads to be used by the Parallel Collector.
2022-10-01, 726👍, 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, 551👍, 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, 506👍, 0💬

"-XX:+PrintCompilation" - Watching JIT Compilation Logs
This section provides a tutorial example on how to use the HotSpot JVM command option, -XX:+PrintCompilation, to watch JIT compilation logs. The JIT compilation of the test method to native machine code does reduce the execution by 25%.
2022-10-01, 490👍, 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, 476👍, 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, 463👍, 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, 459👍, 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, 458👍, 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, 457👍, 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, 407👍, 0💬

Concurrent Mark-Sweep (CMS) Collector - "+XX:+UseConcMarkSweepGC"
This chapter provides tutorial notes and example codes on the Concurrent Mark-Sweep Collector specified by the '+XX:+UseConcMarkSweepGC' JVM option. Topics include introduction to Concurrent Mark-Sweep (CMS) Collector; CMS Collector log message format; demonstration of reduction of stop-the-world by...
2022-10-01, 404👍, 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, 403👍, 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, 400👍, 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, 370👍, 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, 364👍, 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, 363👍, 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, 361👍, 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, 350👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank