RFR: 8263915: runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java fails on x86_32

Jie Fu jiefu at openjdk.java.net
Mon Mar 22 01:51:54 UTC 2021


Hi all,

runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java fails on x86_32 due to failure of this check [1].
However, this check will always fail if UseCompressedClassPointers=0 [2] (e.g., on x86_32) since the class_space_rs remains unreserved.
It would be better to fix it.

Thanks.
Best regards,
Jie

[1] https://github.com/openjdk/jdk/blob/master/test/hotspot/jtreg/runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java#L66
[2] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/memory/metaspaceShared.cpp#L1141

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

Commit messages:
 - 8263915: runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java fails on x86_32

Changes: https://git.openjdk.java.net/jdk/pull/3110/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3110&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263915
  Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3110.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3110/head:pull/3110

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


More information about the hotspot-runtime-dev mailing list