JVM Tutorials - Herong's Tutorial Examples - v5.14, by Herong Yang
What Is JVM Assembler
This section a performance comparison of JIT compilation performance of 'float' and 'double' operations between different Windows and Java versions.
What Is JVM Assembler? A JVM assembler is a compiler that translates programs written in an assembly language into JVM instructions, also called JVM bytecode.
Here are some examples of JVM assemblers.
Jasmin - Jasmin is the oldest and simplest JVM assembler. It was originally developed in 1996 by Jonathan Meyer, written in Java and distributed as a 128,869-byte JAR file. See "What Is Jasmin" for more details.
JASM - JASM is an assembler/disassembler for JVM bytecode, developed by Ross Bamford. Its assembly code syntax is very similar to Jasmin. But class, field and method declarations use the Java style instead of directive statements. See "What Is JASM" for more details.
AsmTools - AsmTools is a set of assembler/disassembler tools for JVM bytecode developed by OpenJDK team. It supports a high-level and a low-level JVM assembly languages. See "What Is AsmTools" for more details.
Lilac - Lilac offers both assembler/disassembler tools, with a high-level JVM assembly language featuring symbolic names for constants and local variables. Macro statements are also supported. See "What Is Lilac" for more details.
Krakatau - Krakatau is a JVM bytecode toolkit consisting of an assembler, a disassembler and a decompiler, written in Python/Rust. Its assembly syntax is superset of Jasmin syntax. See Krakatau's GitHub site at github.com/Storyyeller/Krakatau for more details.
Table of Contents
JVM (Java Virtual Machine) Specification
Java HotSpot VM - JVM by Oracle/Sun
java.lang.Runtime Class - The JVM Instance
java.lang.System Class - The Operating System
ClassLoader Class - Class Loaders
Class Class - Class Reflections
JVM Stack, Frame and Stack Overflow
Thread Testing Program and Result
CPU Impact of Multi-Thread Applications
I/O Impact of Multi-Thread Applications
Micro Benchmark Runner and JVM Options
Micro Benchmark Tests on "int" Operations
Micro Benchmark Tests on "long" Operations
Micro Benchmark Tests in JIT Compilation Mode
Micro Benchmark Tests on "float" and "double" Operations
JRockit JVM 28.2.7 by Oracle Corporation
JVM Bytecode and Instruction Set
►JVM Assembler/Disassembler Tools
Compare HelloWorld.j with "javap" Output
JASM Example - Calculator.jasm
AsmTools/JASM Assembly Statements
AsmTools/JASM Example - Calculator.jasm
AsmTools/JASM Disassembler: "jdis"
AsmTools/JCOD Assembly File Format
AsmTools/JCOD Example - HelloWorld.jcod
AsmTools/JCOD Disassembler: "jdec"