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

Thomas Stuefe stuefe at openjdk.org
Thu Mar 23 09:44:43 UTC 2023


On Thu, 23 Mar 2023 08:36:59 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

>> The best alternative to me is to take the perf hit and disable the caching when we're in forte (possibly only on Mac).
>
>> The best alternative to me is to take the perf hit and disable the caching when we're in forte (possibly only on Mac).
> 
> Sounds like a plan.

Reading @fisk excellent catch the async safety of stacking the wx raii mechanics, I retract my approval. This looks like a recipe for hard-to-find bugs :-/

Incidentally, do we see in the hs_err file whether async profiler is attached? We should maybe make that prominently visible.

> > The best alternative to me is to take the perf hit and disable the caching when we're in forte (possibly only on Mac).
> 
> Sounds like a plan.

I feel there are information missing :)

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

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


More information about the serviceability-dev mailing list