RFR: 8320534: fatal error for the NMTBenchmark test run for the mainline build

Afshin Zafari azafari at openjdk.org
Thu Mar 7 20:42:53 UTC 2024


On Wed, 6 Mar 2024 13:13:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> The benchmark calls whitebox APIs, right? Which call os::reserve, os::commit, etc? None of which should be having problems with being called from multiple threads. None of which should result in an overwritten malloc header that in turn crashes the JVM.

This benchmark uses `Unsafe` API for `malloc/realloc/free` calls. There is another benchmark (`NMTBenchmark_wb.java`) where the `WhiteBox` API is used for calling NMT virtual memory operations.

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

PR Comment: https://git.openjdk.org/jdk/pull/17824#issuecomment-1984391264


More information about the hotspot-runtime-dev mailing list