RFR: 8258732: runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java fails

Calvin Cheung ccheung at openjdk.java.net
Thu Feb 4 22:29:54 UTC 2021


On Windows, sometimes the OS picks 0x0000000800000000 as the requested archive base address. This resulting in runtime relocation won't happen. The test expects the `Unmapping region #3` output trace which won't be there if there no relocation. The fix is to adjust the test to look for another output trace in case the matching of the original trace has failed.

Testing: tier 1 - 4.
Also ran the test 50 times with tier4 vm options on Windows.

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

Commit messages:
 - Merge branch 'master' into 8258732-DynamicArchiveRelocationTest
 - 8258732: runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java fails

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

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


More information about the hotspot-runtime-dev mailing list