Re: RFR: 8334781: JFR crash: assert(((((JfrTraceIdBits::load(klass)) & ((JfrTraceIdEpoch::this_epoch_method_and_class_bits()))) != 0))) failed: invariant

2024-07-13 Thread Erik Gahlin
On Sat, 13 Jul 2024 14:47:21 GMT, Markus Grönlund wrote: > Greetings, > > Please help review this adjustment, which fixes rare situations where methods > that have been retransformed or redefined can be perceived as being tagged by > JFR when they, in fact, are not. The fix unconditionally set

RFR: 8334781: JFR crash: assert(((((JfrTraceIdBits::load(klass)) & ((JfrTraceIdEpoch::this_epoch_method_and_class_bits()))) != 0))) failed: invariant

2024-07-13 Thread Markus Grönlund
Greetings, Please help review this adjustment, which fixes rare situations where methods that have been retransformed or redefined can be perceived as being tagged by JFR when they, in fact, are not. The fix unconditionally sets the metatag clear bits on artefact initialization and adds asserti