RFR: 8293998: [PPC64] JfrGetCallTrace: assert(_pc != nullptr) failed: must have PC
Martin Doerr
mdoerr at openjdk.org
Mon Sep 26 14:34:08 UTC 2022
On Mon, 19 Sep 2022 12:24:05 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> JfrGetCallTrace can still observe last_Java_pc == 0 (see JBS for more details). We can just skip the sample in this very rare case.
Adding release barriers at all places where we save the last Java sp and pc should also help. But that is mainly in assembly code which is spread over several files, not so nice to maintain and may have performance impact. I don' think it's worth the effort just to avoid extremely rare occurrences of last Java pc = 0. Dropping the sample makes more sense to me.
-------------
PR: https://git.openjdk.org/jdk/pull/10339
More information about the hotspot-runtime-dev
mailing list