JDK-8166198 : gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java: exitCode 137 on MacOS
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-09-16
  • Updated: 2019-02-06
  • Resolved: 2016-09-19
Related Reports
Duplicate :  
Relates :  
Description
gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java regularly fails on MacOS with exit: 137


command: main -XX:+IgnoreUnrecognizedVMOptions -XX:CompressedClassSpaceSize=50m CompressedClassSpaceSizeInJmapHeap
reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:CompressedClassSpaceSize=50m CompressedClassSpaceSizeInJmapHeap 
Mode: othervm [/othervm specified]
Additional options from @modules: --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 1.975
----------configuration:(3/68)----------
Boot Layer
  add exports: java.base/jdk.internal.misc ALL-UNNAMED 

----------System.out:(0/0)----------
----------System.err:(0/0)----------
----------rerun:(38/2845)*----------
DISPLAY= \\
DYLD_LIBRARY_PATH=/Users/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED \\
HOME=/var/root \\
JTREG_COF=false \\
JTREG_EFH_HOME=/Users/aurora/CommonData/JTREG_EFH_HOME \\
JTREG_EFH_HOME_arl=aurora://jprt/2016-09-14-215759.jmasamit.jdk9-full-push/binaries/fastdebug-tests/macosx-amd64/failure_handler \\
JTREG_EFH_OPTS='-thd:/Users/aurora/CommonData/JTREG_EFH_HOME/jtregFailureHandler.jar -th:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler -od:/Users/aurora/CommonData/JTREG_EFH_HOME/jtregFailureHandler.jar -o:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver' \\
JTREG_HOME=/Users/aurora/CommonData/jtreg_dir \\
JTREG_NATIVEPATH=/Users/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED \\
JTREG_NATIVEPATH_LIBRARY=/Users/aurora/CommonData/JTREG_NATIVEPATH_LIBRARY \\
JTREG_NATIVEPATH_LIBRARY_arl=aurora://jprt/2016-09-14-215759.jmasamit.jdk9-full-push/binaries/fastdebug-tests/macosx-amd64 \\
JTREG_VERBOSE_LEVEL=summary \\
LANG=C \\
PATH=/bin:/usr/bin \\
CLASSPATH=/Users/aurora/sandbox/results/workDir/classes/1/gc/metaspace:/Users/aurora/CommonData/j2se_jdk/hotspot/test/gc/metaspace:/Users/aurora/sandbox/results/workDir/classes/1/test/lib:/Users/aurora/CommonData/j2se_jdk/test/lib:/Users/aurora/CommonData/jtreg_dir/lib/javatest.jar:/Users/aurora/CommonData/jtreg_dir/lib/jtreg.jar \\
    /Users/aurora/CommonData/TEST_JAVA_HOME/bin/java \\
        -Dtest.src=/Users/aurora/CommonData/j2se_jdk/hotspot/test/gc/metaspace \\
        -Dtest.src.path=/Users/aurora/CommonData/j2se_jdk/hotspot/test/gc/metaspace:/Users/aurora/CommonData/j2se_jdk/test/lib \\
        -Dtest.classes=/Users/aurora/sandbox/results/workDir/classes/1/gc/metaspace \\
        -Dtest.class.path=/Users/aurora/sandbox/results/workDir/classes/1/gc/metaspace:/Users/aurora/sandbox/results/workDir/classes/1/test/lib \\
        -Dtest.vm.opts=-XX:MaxRAMFraction=8 \\
        -Dtest.tool.vm.opts=-J-XX:MaxRAMFraction=8 \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts='-Xmixed -server -XX:MaxRAMFraction=8' \\
        -Dtest.jdk=/Users/aurora/CommonData/TEST_JAVA_HOME \\
        -Dcompile.jdk=/Users/aurora/CommonData/TEST_JAVA_HOME \\
        -Dtest.timeout.factor=16.0 \\
        -Dtest.modules='java.base/jdk.internal.misc java.management' \\
        -Dtest.nativepath=/Users/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED \\
        --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
        -XX:MaxRAMFraction=8 \\
        -Xmixed \\
        -server \\
        -XX:MaxRAMFraction=8 \\
        -Djava.library.path=/Users/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED \\
        -XX:+IgnoreUnrecognizedVMOptions \\
        -XX:CompressedClassSpaceSize=50m \\
        com.sun.javatest.regtest.agent.MainWrapper /Users/aurora/sandbox/results/workDir/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.d/main.0.jta
result: Failed. Unexpected exit from test [exit code: 137]