RFR: 8342818: Implement CPU Time Profiling for JFR [v17]
Markus Grönlund
mgronlun at openjdk.org
Fri Nov 8 14:10:00 UTC 2024
On Thu, 7 Nov 2024 15:11:00 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> This is the code for the [JEP draft: CPU Time based profiling for JFR].
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>
> Don't treat stackTrace attribute specially for CPUTimeSamples
AArch64:
A fatal error has been detected by the Java Runtime Environment:
SIGILL (0x4) at pc=0x0000ffff76288fc8, pid=3163616, tid=3163757
Java VM: Java HotSpot(TM) 64-Bit Server VM (24-internal-2024-11-07-1636009.markus.gronlund.jdkcopy, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
Problematic frame:
J 44547 c1 java.lang.invoke.LambdaForm$DMH+0x0000ffff40d0a3a8.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V java.base at 24-internal (14 bytes) @ 0x0000ffff76288fc8 [0x0000ffff76289100+0xfffffffffffffec8]
Current thread (0x0000ffff0412fbc0): JfrCPUTimeThreadSampler "JFR CPU Time Thread Sampler" [id=3163757, stack(0x0000fffedc1fd000,0x0000fffedc3fb000) (2040K)]
Stack: [0x0000fffedc1fd000,0x0000fffedc3fb000], sp=0x0000fffedc3f9510, free space=2033k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 44547 c1 java.lang.invoke.LambdaForm$DMH+0x0000ffff40d0a3a8.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V java.base at 24-internal (14 bytes) @ 0x0000ffff76288fc8 [0x0000ffff76289100+0xfffffffffffffec8]
V [libjvm.so+0x816ac8] JFRRecordSampledThreadCallback::call()+0x18 (jfrCPUTimeThreadSampler.cpp:531)
V [libjvm.so+0xd2e658] ThreadCrashProtection::call(CrashProtectionCallback&)+0x68 (threadCrashProtection_posix.cpp:49)
V [libjvm.so+0x815070] JfrCPUTimeThreadSampler::process_trace_queue()+0x290 (jfrCPUTimeThreadSampler.cpp:571)
V [libjvm.so+0x815324] JfrCPUTimeThreadSampler::run()+0x114 (jfrCPUTimeThreadSampler.cpp:511)
V [libjvm.so+0xd2e2c8] Thread::call_run()+0xa8 (thread.cpp:234)
V [libjvm.so+0xb9cf50] thread_native_entry(Thread*)+0xdc (os_linux.cpp:858)
C [libpthread.so.0+0x7950] start_thread+0x190
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20752#issuecomment-2464855727
More information about the hotspot-dev
mailing list