RFR: 8304725: AsyncGetCallTrace can cause SIGBUS on M1 [v3]

Jaroslav Bachorik jbachorik at openjdk.org
Fri Mar 24 07:31:32 UTC 2023


On Thu, 23 Mar 2023 12:45:27 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Yes, but while JFR interrupts threads too, its sampler runs in its own thread, so the async-safety of the interrupted code should not matter, or?

And this sampling approach is quite subpar when compared with the signal based profiling - both in terms of bias and precision. Meaning that if/when JFR would implement a state-of-the-art CPU profiler it will have to deal with the same issues we are seeing here.

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

PR Comment: https://git.openjdk.org/jdk/pull/13144#issuecomment-1482370219


More information about the serviceability-dev mailing list