RFR: 8265150: AsyncGetCallTrace crashes on ResourceMark
David Holmes
dholmes at openjdk.java.net
Tue Nov 30 06:24:02 UTC 2021
On Tue, 30 Nov 2021 06:02:08 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> > Hi Coleen,
> > This bypasses the currently observed problem, but we still have a fundamentally unsafe mechanism in use here. :(
> > Thanks, David
>
> Does AsyncGetCallTrace get triggered asynchronously via signal?
Yes:
```V [libjvm.so+0x986023] AsyncGetCallTrace+0x1e5
C [libasyncProfiler.so+0x89b4] Profiler::getJavaTraceAsync(void*, ASGCT_CallFrame*, int)+0xd4
C [libasyncProfiler.so+0x9242] Profiler::recordSample(void*, unsigned long long, int, Event*)+0xd2
C [libasyncProfiler.so+0x34f2c] PerfEvents::signalHandler(int, siginfo_t*, void*)+0x8c
-------------
PR: https://git.openjdk.java.net/jdk/pull/6606
More information about the serviceability-dev
mailing list