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

Download and Install JDK on macOS
This section provides a tutorial example on how to download and install the latest version JDK, which contains the HotSpot JVM, on a macOS system. A simple Java program was entered, compiled, and executed to verify the JDK installation.
2023-05-19, 91545👍, 60💬

💬 2023-05-13 james: oki

💬 2022-01-10 G.S.S.VARAPRASADRAO: cool

💬 2021-11-15 thang: that geart

💬 2021-06-08 anil: thanks

💬 2021-01-01 MOH: WERE CLICK TO DOWNLOAD

(More comments ...)

"-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, 448👍, 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, 6456👍, 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, 142👍, 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, 775👍, 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, 1365👍, 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, 1014👍, 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, 953👍, 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, 686👍, 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, 645👍, 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, 643👍, 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, 615👍, 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, 609👍, 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, 602👍, 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, 602👍, 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, 567👍, 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, 515👍, 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, 505👍, 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, 499👍, 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, 492👍, 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, 480👍, 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, 478👍, 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, 474👍, 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, 469👍, 0💬

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