RFR: 8342818: Implement CPU Time Profiling for JFR [v4]

Jaroslav Bachorik jbachorik at openjdk.org
Fri Nov 1 15:03:39 UTC 2024


On Thu, 31 Oct 2024 13:28:24 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>Stack: [0x0000fffb01f6c000,0x0000fffb0216a000], sp=0x0000fffb021683a0, free space=2032k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 8439 c2 jdk.internal.org.objectweb.asm.SymbolTable.addConstantUtf8(Ljava/lang/String;)I java.base at 24-internal (98 bytes) @ 0x0000ffff68300b4c [0x0000ffff68300d00+0xfffffffffffffe4c]
V [libjvm.so+0x816bd8] JFRRecordSampledThreadCallback::call()+0x18 (jfrCPUTimeThreadSampler.cpp:550)

Am I reading this right that the callback does upcall to Java where it modifies bytecode via ASM?

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

PR Comment: https://git.openjdk.org/jdk/pull/20752#issuecomment-2452022681


More information about the hotspot-dev mailing list