Add relative link to compile.cpp

This commit is contained in:
Roberto Castañeda Lozano 2025-04-24 12:51:21 +02:00
parent 86fdc673d8
commit 8193767d16

View file

@ -54,12 +54,12 @@ name.
The JVM provides some entry functions to dump graphs from a debugger such as The JVM provides some entry functions to dump graphs from a debugger such as
`gdb` or `rr`, see the different variants of `igv_print` and `igv_append` in `gdb` or `rr`, see the different variants of `igv_print` and `igv_append` in
`compile.cpp`. In combination with the IGV network interface, these functions [`compile.cpp`](/src/hotspot/share/opto/compile.cpp). In combination with the
enable a powerful interactive workflow where the user can simultaneously step IGV network interface, these functions enable a powerful interactive workflow
through C2's code and visualize the evolving Ideal graph. Note that, to produce where the user can simultaneously step through C2's code and visualize the
and print meaningful C2 stack traces, these functions take the stack pointer, evolving Ideal graph. Note that, to produce and print meaningful C2 stack
frame pointer, and program counter registers as arguments. These are usually traces, these functions take the stack pointer, frame pointer, and program
`$sp`, `$fp`, and `$pc`: counter registers as arguments. These are usually `$sp`, `$fp`, and `$pc`:
``` ```
(gdb) p igv_print(true, $sp, $fp, $pc) (gdb) p igv_print(true, $sp, $fp, $pc)