java
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| java [2020/09/26 16:29] – [GDB] ealmr | java [2025/03/30 12:30] (current) – ealmr | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | ====== Build ====== |
| - | # Build | ||
| - | ```bash | + | < |
| hg clone http:// | hg clone http:// | ||
| cd jdk8u | cd jdk8u | ||
| sh ./ | sh ./ | ||
| sh ./configure --with-debug-level=slowdebug --disable-zip-debug-info | sh ./configure --with-debug-level=slowdebug --disable-zip-debug-info | ||
| - | ``` | + | </ |
| - | # Options | + | ====== |
| - | - -XX: | + | * - -XX: |
| - | - -Xprintflags | + | |
| - | - -XX+PrintFlagsWithComments | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| - | - set `b breakpoint` at GDB | + | |
| - | - -XX: | + | |
| - | - -XX: | + | |
| + | |||
| + | ====== Template Intepreter ====== | ||
| - | # Template Intepreter | ||
| This requires hsdis: | This requires hsdis: | ||
| - | ```bash | + | < |
| cd hotspot/ | cd hotspot/ | ||
| wget http:// | wget http:// | ||
| Line 37: | Line 37: | ||
| cp build/ | cp build/ | ||
| ./java -XX: | ./java -XX: | ||
| - | ``` | + | </ |
| - | # GDB | + | ====== |
| - | - `call help()` | + | * - `call help()` |
| - | - `call pns($sp, $rbp, $pc)` | + | |
| - | # Reference | + | ====== |
| http:// | http:// | ||
| - | </ | ||
| - | n> | ||
java.1601137792.txt.gz · Last modified: by ealmr
