RFR: JDK-8298908: Instrument Metaspace for ASan [v6]

Justin King jcking at openjdk.org
Mon Jan 9 16:53:58 UTC 2023


On Mon, 9 Jan 2023 08:08:28 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Metaspace changes mostly good. Do the gtests pass? Especially the Metaspace fence tests? You need to execute them via the jtreg wrapper (test/hotspot/jtreg/gtest) - these wrappers execute the googletest suite with a number of different settings, among others also metaspace fences enabled.

They do now. Had to poison/unpoison in the test. The other failures are from print_hex_dump being instrumented and just general incompatibility with ASan. They should probably be fixed in general. Filed JDK-8299826 to take a look at some point.

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

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



More information about the build-dev mailing list