RFR: 8266426: ZHeapIteratorOopClosure does not handle native access properly

Stefan Karlsson stefank at openjdk.java.net
Mon May 3 13:31:52 UTC 2021


On Mon, 3 May 2021 10:22:29 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Early return for native pointers in `ZHeapIteratorOopClosure::load_oop`.

This adds an non-trivial is_in call to each visited oop*. I'd like to see if this could instead be solved by letting the used closure "know" when it scans CLDs, and only in that case use NativeAccess.

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

Changes requested by stefank (Reviewer).

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



More information about the hotspot-gc-dev mailing list