[TESTBUG] Rewrite compiler/ciReplay/TestVM.sh in java

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b146

        compiler/ciReplay/TestVM.sh sometimes crash on OSX(see JDK-8151315):
        + /Users/aurora/CommonData/TEST_JAVA_HOME/bin/java -Xmixed -server -XX:MaxRAMFraction=8 -XX:NativeMemoryTracking=detail -XX:TieredStopAtLevel=3 -XX:-CreateMinidumpOnCrash -XX:+ReplayCompiles -XX:ReplayDataFile=test_replay.txt
        /Users/aurora/CommonData/j2se_jdk/hotspot/test/compiler/ciReplay/common.sh: line 41: 46277 Segmentation fault: 11 $cmd
        + return 139

        It is a not crash in JVM, this looks like something related to how run shell scripts on OSX. Sometimes we hit these crashes in shell scripts on OSX. JDK-8151315 have more information. Rewriting test in java can solve this problem.

          1. TestVM.jtr
            63 kB
            Dmitry Dmitriev

              Assignee:
              Dmitrij Pochepko
              Reporter:
              Dmitry Dmitriev
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: