Sort: Rank

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.
2017-08-10, 163👍, 1💬

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

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

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, 345👍, 2💬

💬 2017-04-28 micahel: useful

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

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, 209👍, 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;

Downloading and Installing JDK 1.7.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.7.0 (Java SE 7) on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2017-01-02, 4354👍, 3💬

💬 2017-01-02 sudhanshu: no comments

💬 2016-12-17 tangxy: thk, i just want to learn java

💬 2016-11-22 ankit: THANKS

PDF Printing Version: JVM Tutorials
Information on how to obtain the PDF version of this book for printing.
2016-12-05, 1010👍, 10💬

💬 2016-12-05 Rahul: very good

💬 2016-11-07 bob: thanks.

💬 2016-09-29 Awanputih: Thanks a bunch

💬 2016-06-21 Moxing: thanks

💬 2016-06-15 John Smith: Thanks

(More comments ...)

PC Register and Native Method Stack
This section describes PC Registers and Native Method Stacks, which are reserved one per thread. Normal Java applications do not have any significant impact on PC Registers and Native Method Stacks.
2016-05-13, 1010👍, 2💬

💬 2016-05-13 Herong: Kumar, I need some help from JVM experts to do that.

💬 2016-05-11 Kumar: Please explain it deeply,

Sun's JVM - Java HotSpot VM
This chapter provides tutorial notes and example codes on Sun Java HotSpot VM. Topics include running Java HotSpot VM in client and server modes; checking memory usage with the Runtime class.
2016-01-26, 426👍, 1💬

💬 2016-01-26 Mangkorn: Thanks

JVM and OS System Properties
This section provides a tutorial example on how to list all properties from the JVM and the OS that are accessible by your Java application.
2015-09-10, 2177👍, 3💬

💬 2015-09-10 Herong: Roland, Good to know that Java 1.8 is reporting your "user.home" directory correctly now :-)

💬 2015-09-09 Roland: I mean System.getProperty("user.home") has changed

💬 2015-09-09 Roland: On my system, I've changed my home dir to D:user\username. With java System.getProperty("user.dir"), I got always D:user\usernam...

Garbage Collection Tests
This chapter provides tutorial notes and example codes on garbage collection. Topics include garbage collection test program -; comparisons between HotSpot 1.7.0, HotSpot 1.6.0 and JRockit R28.2.7.
2015-08-16, 195👍, 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.
2015-08-11, 3424👍, 1💬

💬 2015-08-11 hgfhfg: gjhg

Running Java HotSpot Server VM
This section provides you a tutorial example on how to run Java HotSpot Server VM - run Java command with -server option: 'java -server'.
2015-08-04, 773👍, 1💬

💬 2015-08-04 anil: i want system to phone net

Table of Contents - Index
This free book is a collection of notes and sample codes written by the author while he was learning JVM himself. Topics include JVM (Java Virtual Machine), HotSpot, JRockit, GC (Garbage Collection), Memory, Stack overflow, CDS (Class Data Sharing), Runtime, Reflection.
2015-07-18, 238👍, 0💬

  Sort: Rank