Java GC Tutorials - Herong's Tutorial Examples
This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Gener... 2018-06-17, 454👍, 1💬
Ethereum Tutorials - Herong's Tutorial Notes
This free book is a collection of tutorials and notes on Ethereum and blockchain. Topics include Blockchain, Ethereum, Cryptocurrency, Mining, MetaMask, Wallet. 2018-05-11, 597👍, 2💬
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. 2018-06-05, 5293👍, 4💬
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, 1616👍, 2💬
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, 628👍, 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, 352👍, 2💬
"-XX:+PrintGCDetails" - Garbage Collection Logging
This section describes HotSpot JVM options to generate garbage collection logging messages. It also describes log message format to help us understand what the JVM is telling us. 2018-04-23, 348👍, 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. 2017-08-10, 333👍, 1💬
Java HotSpot VM - JVM by Oracle/Sun
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8), which contains the HotSpot 1.8 JVM, on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation. 2018-09-01, 305👍, 2💬
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, 239👍, 0💬
Garbage Collection Tests
This chapter provides tutorial notes and example codes on garbage collection. Topics include garbage collection test program - GCTest2.java; comparisons between HotSpot 1.7.0, HotSpot 1.6.0 and JRockit R28.2.7. 2015-08-16, 199👍, 1💬
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💬
This chapter provides tutorial examples and notes about DES algorithm implementation in Java languag...
This section describes steps to follow if you want to use the java.net.HttpURLConnecti onclass to se...
This section describes 'adb install' and 'adb uninstall' commands that allows you to install an appl...
This section describes the DSA (Digital Signature Algorithm) algorithm, which consists of 2 parts: g...
This section provides a tutorial example on how to solve the banking synchronization issue with Java...