RFR: 8263017: Read barriers are missing in nmethod printing code

Daniel D.Daugherty dcubed at openjdk.java.net
Fri Mar 12 03:38:06 UTC 2021


On Thu, 11 Mar 2021 21:05:51 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> The load barrier on misaligned oop relocations will cause intermittent crashes. This is not safe. I can give you a fix tomorrow hopefully.
>
>> The load barrier on misaligned oop relocations will cause intermittent crashes. This is not safe. I can give you a fix tomorrow hopefully.
> 
> Thanks, Erik. 
> 
> As an alternative, I could add `BarrierSetNMethod::nmethod_entry_barrier()` into `nmethod::print_nmethod()` to ensure that all the oops are healed. Let me know what you prefer.

We're up to 14 sightings of this failure in the JDK17 CI. Should we
ProblemList this test while this issue is resolved? I'll check back in
on this PR in the AM...

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

PR: https://git.openjdk.java.net/jdk/pull/2919



More information about the hotspot-gc-dev mailing list