RFR: 8293252: Shenandoah: ThreadMXBean synchronizer tests crash with IU+aggressive mode

Ashutosh Mehra duke at openjdk.org
Fri Sep 16 19:51:48 UTC 2022


On Fri, 16 Sep 2022 18:51:06 GMT, William Kemper <wkemper at openjdk.org> wrote:

> The assert happens when the heap inspection tries to create a pointer to an object in the collection set that was visited during this heap walk

That's right.
I am inclined towards option 1 as it should (theoretically speaking) solve the other assertion failure as well.

> Option 1. is probably the Right Thing to do, but I'm no sure what would happen if the VMThread is unable to find memory for the evacuated object.

Can you please help me understand if we add LRB during heap inspection, why would VMThread ever be in situation where it fails to find memory for the evacuated object?

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

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



More information about the hotspot-gc-dev mailing list