RFR: 8283352: [CDS] SharedBaseAddress.java fails on x86_32

Jie Fu jiefu at openjdk.java.net
Fri Mar 18 02:33:51 UTC 2022


Hi all, 

Three cds tests fail on x86_32 due to incorrect VM testing parameters.

runtime/cds/appcds/SharedBaseAddress.java
runtime/cds/SharedBaseAddress.java#id1
runtime/cds/SharedBaseAddress.java#id0


Here is part of the failing log.

[STDERR]
Improperly specified VM option 'SharedBaseAddress=8g'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


[STDERR]
Improperly specified VM option 'SharedBaseAddress=0x800001000'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


The fix just excludes them for 32-bit VMs.

Thanks.
Best regards,
Jie

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

Commit messages:
 - 8283352: [CDS] SharedBaseAddress.java fails on x86_32

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

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


More information about the hotspot-runtime-dev mailing list