RFR: 8356020: Failed assert in virtualMemoryTracker.cpp

Calvin Cheung ccheung at openjdk.org
Tue May 6 01:37:30 UTC 2025


On Tue, 6 May 2025 00:32:17 GMT, Ioi Lam <iklam 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)
>
> 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.

Thanks @iklam for the quick review.

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

PR Comment: https://git.openjdk.org/jdk/pull/25054#issuecomment-2852962604


More information about the hotspot-runtime-dev mailing list