<< < 1 2 3 4 5 6 7 8 … > >>   ∑:340  Sort:Date

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, ∼1159🔥, 1💬

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, ∼1112🔥, 1💬

💬 2018-06-24 Maria: Cool!

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

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

forName() Method - Loading Classes
This section provides a tutorial example on how to load a given class explicitly using the forName() method and create a new object using the newInstance() method.
2022-03-24, ∼1106🔥, 1💬

💬 2022-03-24 Catc: Very Good!!!

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, ∼1096🔥, 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.
2025-12-31, ∼1090🔥, 1💬

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

Tenured Generation Collectors - Serial, ParOldGen, CMS, G1
This section describes Garbage Collectors used for the Tenured generation: Serial, Parallel Old (ParOldGen), Concurrent Mark Sweep (CMS), and Garbage First (G1)
2022-10-01, ∼1064🔥, 0💬

"-Xlog:gc=trace" - Lowest GC Logging Level: TRACE
This section describes the garbage collection logging option, '-Xlog:gc=trace', which prints out log messages from the GC channel at the TRACE level, which is lowest logging level.
2022-10-01, ∼1055🔥, 0💬

About This Book
This section provides some detailed information about this book - JVM Tutorials - Herong's Tutorial Examples.
2022-10-01, ∼1046🔥, 0💬

What Is JVM Specification
This section describes what is JVM Specification.
2020-01-11, ∼1045🔥, 1💬

💬 2020-01-11 zengjialiang: thanks

Getting and Adding System Properties
This section provides a tutorial example on how to access system properties provided by the JVM instance and how to add your own properties.
2022-10-01, ∼993🔥, 0💬

What Is Concurrent Mark-Sweep (CMS) Collector
This section describes the Concurrent Mark-Sweep (CMS) Collector, which attempts to reduce application pause times of Major GC by using separate garbage collector threads to trace the reachable objects concurrently with the execution of the application threads.
2022-10-01, ∼985🔥, 0💬

JVM Garbage Collection Logging
This chapter provides tutorial notes and example codes on JVM options for garbage collection logging. Topics include a summary of logging options; examples of log messages for '-Xlog:gc', '-Xlog:gc:file', -Xlog:gc=trace', '-Xlog:gc+heap=trace', '-Xlog:gc*=trace', etc.
2022-10-01, ∼951🔥, 0💬

"-Xlog:gc*=trace" - Maximum GC Logging
This section describes the garbage collection logging option '-Xlog:gc*=trace' (the maximum GC logging option), which prints log messages from all GC sources with the lowest log level of TRACE.
2022-10-01, ∼945🔥, 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, ∼942🔥, 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, ∼922🔥, 0💬

Collector Combinations: Serial, Parallel, Concurrent, G1, Z
This section describes different garbage collector combinations supported by JVM 12 HotSpot: Serial, Parallel, Concurrent, G1 and Z
2022-10-01, ∼919🔥, 0💬

Serial Collector - "+XX:+UseSerialGC"
This chapter provides tutorial notes and example codes on the Serial Collector specified by the '+XX:+UseSerialGC' JVM option. Topics include introduction to Serial Collector; GC log message format and examples; '-XX:NewRatio' and '-XX:SurvivorRatio' controlling heap area allocations; 'TargetSurvivo...
2022-10-01, ∼911🔥, 0💬

Full Version in PDF/EPUB
Information on how to obtain the full version of this book in PDF, EPUB, or other format.
2022-10-01, ∼904🔥, 0💬

Archived Tutorials
This chapter contains some archived tutorial notes and example codes from previous versions of this book.
2022-10-01, ∼890🔥, 0💬

Maximum Logging of All Phases on Full GC
This section demonstrates that the '-Xlog:gc*=trace' option can be used to print out maximum logging messages of all phases on a Full GC performed by the CMS collector.
2022-10-01, ∼885🔥, 0💬

What Is Class Loader
This section describes what is Java Class Loader - Part of the Java Runtime Environment (JRE) that dynamically loads Java classes into the Java Virtual Machine (JVM).
2022-10-01, ∼884🔥, 0💬

JVM Runtime Data Areas
This chapter provides tutorial notes and example codes on JVM runtime data areas. Topics include introduction of JVM runtime data areas: Method Area, Heap, Direct Memory, PC Registers, JVM Stacks, and Native Method Stacks; different between thread-shared and per-thread data areas; demonstration prog...
2018-07-01, ∼872🔥, 0💬

<< < 1 2 3 4 5 6 7 8 … > >>   ∑:340  Sort:Date