Summary:
When running in CDS mode, the following 2 tests fail:
compiler/profiling/spectrapredefineclass/Launcher.java
compiler/profiling/spectrapredefineclass_classloaders/Launcher.java
Platform:
Found on Linux-x64 bit platform
Reproducible: 100%
Occasionally the sharing may fail due to archive file mapping failure.
This happens very occasionally on Linux, more often on Windows.
Version:
Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-03-21-132215.mikhailo.hs-rt)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-internal+0-2016-03-21-132215.mikhailo.hs-rt, mixed mode, sharing)
hs-rt as of 3/21/2016
Steps to reproduce:
java -Xshare:dump // this will create a shared archive
java -Xshare:auto -version // check, ensure the keyword 'sharing' appears in the version
Run test: jtreg -Xshare:auto hs-rt/hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java
Note that if you run w/o -Xshare:auto, the test works well
Error details:
command: main -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -XX:ReservedCodeCacheSize=3M Agent
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 35000 bytes for CodeCache: no room for StubRoutines (2)
# An error report file with more information is saved as:
# repro-01/JTwork/scratch/4/hs_err_pid19817.log
See the attached logs for more details
When running in CDS mode, the following 2 tests fail:
compiler/profiling/spectrapredefineclass/Launcher.java
compiler/profiling/spectrapredefineclass_classloaders/Launcher.java
Platform:
Found on Linux-x64 bit platform
Reproducible: 100%
Occasionally the sharing may fail due to archive file mapping failure.
This happens very occasionally on Linux, more often on Windows.
Version:
Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-03-21-132215.mikhailo.hs-rt)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-internal+0-2016-03-21-132215.mikhailo.hs-rt, mixed mode, sharing)
hs-rt as of 3/21/2016
Steps to reproduce:
java -Xshare:dump // this will create a shared archive
java -Xshare:auto -version // check, ensure the keyword 'sharing' appears in the version
Run test: jtreg -Xshare:auto hs-rt/hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java
Note that if you run w/o -Xshare:auto, the test works well
Error details:
command: main -XX:-TieredCompilation -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=222 -XX:ReservedCodeCacheSize=3M Agent
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 35000 bytes for CodeCache: no room for StubRoutines (2)
# An error report file with more information is saved as:
# repro-01/JTwork/scratch/4/hs_err_pid19817.log
See the attached logs for more details
- relates to
-
JDK-8174240 compiler/profiling/spectrapredefineclass_classloaders/Launcher.java fails with VirtualMachineError
-
- Closed
-