RFR: 8377797: Remove SA support for MethodData and the printmdo command [v3]
Vladimir Kozlov
kvn at openjdk.org
Tue Feb 17 17:13:28 UTC 2026
On Fri, 13 Feb 2026 18:24:57 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This change removes MethodData code copied into SA that's out of date for the valhalla repo.
>>
>> Tested with tier1-3.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove the doc.
I often use VM flag like this `-XX:CompileCommand=print,java.lang.String::length ` to see JIT compiled code assembly and corresponding MDO with profiling information:
------------------------------------------------------------------------
java.lang.String::length()I
interpreter_invocation_count: 292
invocation_counter: 292
backedge_counter: 0
decompile_count: 0
mdo size: 328 bytes
0 fast_aaccess_0
1 fast_agetfield 9 <java/lang/String.value:[B>
4 arraylength
5 fast_aload_0
6 invokevirtual 322 <java/lang/String.coder()B>
9 ishr
10 ireturn
------------------------------------------------------------------------
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29693#issuecomment-3915941336
More information about the serviceability-dev
mailing list