RFR: 8293252: Shenandoah: ThreadMXBean synchronizer tests crash with aggressive heuristics [v3]

Ashutosh Mehra duke at openjdk.org
Thu Sep 22 21:36:11 UTC 2022


On Wed, 14 Sep 2022 19:51:14 GMT, William Kemper <wkemper at openjdk.org> wrote:

>> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use lrb directly instead of using HeapAccess to avoid evacuating doomed
>>   objects referred by weak roots.
>>   
>>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>
> Please help me understand why `VM_ThreadDump` would be modifying oops?

@earthling-amzn as you suggested I have added another commit to call `load_reference_barrier` directly instead of using `HeapAccess`. That seems to be the safest approach to effect evacuation without meddling with other conditions.

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

PR: https://git.openjdk.org/jdk/pull/10268



More information about the hotspot-gc-dev mailing list