Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8043899

compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m

XMLWordPrintable

    • b17

        #section:shell
        ----------messages:(3/117)----------
        command: shell Test7005594.sh
        reason: User specified action: run shell Test7005594.sh
        elapsed time (seconds): 1.915
        ----------System.out:(20/589)----------
        TESTSRC=/export/local/aurora/CommonData/hotspot/test/compiler/5091921
        TESTJAVA=/export/local/aurora/CommonData/jdk
        COMPILEJAVA=/export/local/aurora/CommonData/jdk
        TESTCLASSES=/export/local/aurora/sandbox/results/workDir/classes/3/compiler/5091921
        NULL =/dev/null
        PS =:
        FS =/
        RM =/bin/rm
        CP =/bin/cp
        MV =/bin/mv
        CLASSPATH =.:/export/local/aurora/sandbox/results/workDir/classes/3/compiler/5091921:
        THIS_DIR=.
        VM_TYPE=server
        VM_BITS=64
        VM_OS=bsd
        VM_CPU=amd64
        MEMORY=4096 Mb
        Error occurred during initialization of VM
        Initial heap size set to a larger value than the maximum heap size
        Failed
        ----------System.err:(15/734)----------
        java version "1.8.0_20-ea"
        Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b15)
        Java HotSpot(TM) 64-Bit Server VM (build 25.20-b15, mixed mode)
        + cp /export/local/aurora/CommonData/hotspot/test/compiler/5091921/Test7005594.java .
        + cp /export/local/aurora/CommonData/hotspot/test/compiler/5091921/Test7005594.sh .
        + /export/local/aurora/CommonData/jdk/bin/javac -d . Test7005594.java
        + /export/local/aurora/CommonData/jdk/bin/java -d64 -Xmx768M -Xms1600m -XX:+IgnoreUnrecognizedVMOptions -XX:-ZapUnusedHeapArea -Xcomp -XX:CompileOnly=Test7005594.test Test7005594
        + result=1
        + cat test.out
        + '[' 1 -eq 95 ']'
        + '[' 1 -eq 97 ']'
        + grep 'Could not reserve enough space for object heap' test.out
        + '[' 1 = 0 ']'
        + echo Failed
        + exit 1

              iignatyev Igor Ignatyev (Inactive)
              iignatyev Igor Ignatyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: