[master] RFR: Parallel: modify to-space object in array chunking
Stefan Karlsson
stefank at openjdk.org
Fri Apr 19 14:42:10 UTC 2024
On Fri, 19 Apr 2024 14:18:25 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> ... I don't feel very comfortable messing with the length-field, though. Going forward, we might consider doing what's done in Shenandoah instead, and encode the chunking in the task object. https://github.com/openjdk/jdk/blob/177092b952c2135c6f6872c6b64d1e210452d35a/src/hotspot/share/gc/shenandoah/shenandoahTaskqueue.hpp#L66
I agree. FWIW, ZGC also encodes the chunk in the "task":
https://github.com/openjdk/jdk/blob/177092b952c2135c6f6872c6b64d1e210452d35a/src/hotspot/share/gc/z/zMarkStackEntry.hpp#L56
-------------
PR Comment: https://git.openjdk.org/lilliput/pull/149#issuecomment-2066724754
More information about the lilliput-dev
mailing list