RFR: 8351256: Improve printing of runtime call stub names in disassember output

Vladimir Kozlov kvn at openjdk.org
Wed Mar 5 19:21:03 UTC 2025


On Wed, 5 Mar 2025 09:20:07 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Fixes printing of runtime stub call targets in disassembler listings.
>
> Verified by eyeball:
> 
> 
> $ java -XX:CompileCommand='print,java.lang.Object::<init>' Hello
> CompileCommand: print java/lang/Object.<init> bool print = true
>   . . .
> Compiled method (c1) 98    1       3       java.lang.Object::<init> (1 bytes)
>   . . .
>   0x0000ffff670001b8:   cmp	x8, x9
>   0x0000ffff670001bc:   b.eq	0x0000ffff670001d8  // b.none
>  ;; 0xFFFF6E59EAC0
>   0x0000ffff670001c0:   mov	x8, #0xeac0                	// #60096
>                                                             ;   {runtime_call Stub::method_entry_barrier}
>   0x0000ffff670001c4:   movk	x8, #0x6e59, lsl #16
>   0x0000ffff670001c8:   movk	x8, #0xffff, lsl #32
>   0x0000ffff670001cc:   blr	x8
>   . . .

@adinn  Can you add additional change to `relocInfo.cpp` to print call resolution blobs ?:
https://github.com/vnkozlov/jdk/commit/620b99f8ef7f1bea527d27e4a625a000e83d6663

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23915#issuecomment-2701853164


More information about the hotspot-compiler-dev mailing list