RFR: 8356020: Failed assert in virtualMemoryTracker.cpp
Ioi Lam
iklam at openjdk.org
Tue May 6 00:35:17 UTC 2025
On Tue, 6 May 2025 00:24:20 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> This is a temporary fix. The real fix needs more investigation in the NMT area. The change is just to pass `mtNone` as the `mem_tag` when calling `MemoryReserver::reserve()`.
>
> Testing:
>
> - Ran the test group `open/test/hotspot/jtreg:hotspot_aot_classlinking` 40 times on linux-aarch64 with the options: `-XX:+AOTClassLinking -XX:MaxRAMPercentage=6.25`
> - tier1
> - tiers 2 - 3 (in progress)
Marked as reviewed by iklam (Reviewer).
LGTM and trivial. This reverts a single line in [JDK-8354547](https://bugs.openjdk.org/browse/JDK-8354547) which revealed a long standing bug (NMT thinks that the region reserved by AcrhiveBuilder is larger than it actually is, on Linux/aarch64).
This temporary fix will suppress the noise in testing while we work on a fix for the underlying issue.
-------------
PR Review: https://git.openjdk.org/jdk/pull/25054#pullrequestreview-2816484655
PR Comment: https://git.openjdk.org/jdk/pull/25054#issuecomment-2852840836
More information about the hotspot-runtime-dev
mailing list