<< < 1 2 3 4 5 6 7 8 … > >>   ∑:301  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, ∼1109🔥, 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, ∼1071🔥, 1💬

💬 2018-06-24 Maria: Cool!

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

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

GC Log Message Format for Serial Collector
This section provides explanations on GC log messages generated from the Serial Collector.
2022-10-01, ∼1050🔥, 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, ∼1049🔥, 1💬

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

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

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

💬 2020-01-11 zengjialiang: thanks

"-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, ∼1006🔥, 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, ∼1005🔥, 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, ∼947🔥, 0💬

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

About This Book
This section provides some detailed information about this book - JVM Tutorials - Herong's Tutorial Examples.
2022-10-01, ∼937🔥, 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, ∼912🔥, 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, ∼886🔥, 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, ∼878🔥, 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, ∼873🔥, 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, ∼867🔥, 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, ∼858🔥, 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, ∼853🔥, 0💬

What Are Runtime Data Areas?
This section describes 6 JVM runtime data areas: Method Area, Heap, Direct Memory, PC Register, JVM Stack and Native Method Stack.
2017-04-10, ∼850🔥, 1💬

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

"-XX:MaxTenuringThreshold=0" - Tenuring Objects Immediately
This section provides a tutorial on how to use '-XX:MaxTenuringThreshold=0' to force objects being promoted immediately to Tenured generation. This will result more Major GCs.
2022-10-01, ∼826🔥, 0💬

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