RFR: 8257701: Shenandoah: objArrayKlass metadata is not marked with chunked arrays

Zhengyu Gu zgu at openjdk.java.net
Thu Dec 3 19:03:57 UTC 2020


On Thu, 3 Dec 2020 18:14:56 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Shenandoah change looks good. I wonder if G1 has the same bug! I think it does... Please submit a "potential bug" for it?

G1 does things a little different, for each array slice (chunk), it calls obj->oop_iterate(closure, MemRegion), in turn, maps to ObjArrayKlass::oop_oop_iterate_bounded(obj, closure, MemRegion), which does walk over metadata.

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

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



More information about the hotspot-gc-dev mailing list