Go to main content
1/17
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Java Virtual Machine Technology Overview
2
Compiler Control
Writing Directives
List of Compiler Control Options
Writing a Directives File
Writing a Compiler Directive
Writing a Method Pattern in a Compiler Directive
Writing an Inline Directive Option
Preventing Duplication with the Enable Option
Understanding Directives Better
What Is the Default Directive?
How Are Directives Applied to Code?
Compiler Control and Backward Compatibility
Commands to Work with Directive Files
Compiler Directives and the Command Line
Compiler Directives and Diagnostic Commands
Getting Your Java Process Identification Number
Adding Directives Through Diagnostic Commands
Removing Directives Through Diagnostic Commands
Printing Directives Through Diagnostic Commands
How Are Directives Ordered in the Directives Stack?
3
Garbage Collection
4
Class Data Sharing
Overview of Class Data Sharing
Regenerating the Shared Archive
Manually Controlling Class Data Sharing
5
Java HotSpot Virtual Machine Performance Enhancements
Compact Strings
Tiered Compilation
Compressed Ordinary Object Pointer
Zero-Based Compressed Ordinary Object Pointers
Escape Analysis
6
Support for Non-Java Languages
Introduction to Non-Java Language Features
Static and Dynamic Typing
Statically-Typed Languages Are Not Necessarily Strongly-Typed Languages
The Challenge of Compiling Dynamically-Typed Languages
The invokedynamic Instruction
Defining the Bootstrap Method
Specifying Constant Pool Entries
Example Constant Pool
Using the invokedynamic Instruction
7
Signal Chaining
8
Native Memory Tracking
Key Features
Using Native Memory Tracking
Enabling NMT
Accessing NMT Data using jcmd
Obtaining NMT Data at VM Exit
9
DTrace Probes in HotSpot VM
Using the hotspot Provider
VM Lifecycle Probes
Thread Lifecycle Probes
Classloading Probes
Garbage Collection Probes
Method Compilation Probes
Monitor Probes
Application Tracking Probes
Using the hotspot_jni Provider
Sample DTrace Probes
10
Fatal Error Reporting
Error Report Example
11
Java Virtual Machine Related Resources
Tools
Scripting on this page enhances content navigation, but does not change the content in any way.