RFR 8225550: Shenandoah: Prevent SH::object_iterate() call's side-effects

Aleksey Shipilev shade at redhat.com
Wed Jun 12 08:27:12 UTC 2019


On 6/11/19 6:22 PM, Zhengyu Gu wrote:
> This is another prerequisite for concurrent root processing. It prevents heap iteration from
> touching objects, that are considered unreachable by current GC cycle. Otherwise, LRB may evacuate
> the objects, make them alive from GC point of view.
> 
> The solution is to use the same roots to seed the iteration as ongoing GC cycle.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8225550
> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8225550/webrev.00/

Looks good.

-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20190612/27702234/signature.asc>


More information about the hotspot-gc-dev mailing list