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

timeouts and outOfMemory in regression tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • hs16
    • hs16
    • hotspot
    • None
    • b08
    • sparc
    • solaris_10

        Nightly testing uses some very old sparc machine which are slow, have one cpu(core) and <= 1Gb memory.
        Such machines are not server class for VM so it use Serial GC wich also slowdown execution time.


        To solve it increase timeout for next tests

        test/closed/runtime/6559877
        test/compiler/6826736

        And increase heap size for next test which get OutOfMemoryError with default values for Serial GC.

        test/compiler/6851282

        ----------------------------------
        command: main Test6559877
        reason: Assumed action based on file name: run main Test6559877
        elapsed time (seconds): 360.03
        ----------System.out:(2/72)----------
        Checking all 1-byte combinations...
        Checking all 2-byte combinations...
        ----------System.err:(0/0)----------
        result: Error. Program `/export/local/common/jdk/baseline/solaris-sparcv9/bin/java' interrupted! (timed out?)



        ----------------------------------
        command: main -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:+ScavengeALot -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:CompileThreshold=100 -XX:CompileOnly=Test.test -XX:-BlockLayoutRotateLoops -XX:LoopUnrollLimit=0 Test
        reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:+ScavengeALot -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:CompileThreshold=100 -XX:CompileOnly=Test.test -XX:-BlockLayoutRotateLoops -XX:LoopUnrollLimit=0 Test
        elapsed time (seconds): 360.022
        ----------System.out:(3/52)----------
        Warmup 1 is done.
        Warmup 2 is done.
        Warmup is done.
        ----------System.err:(0/0)----------
        result: Error. Program `/export/local/common/jdk/baseline/solaris-sparc/bin/java' interrupted! (timed out?)



        ----------------------------------
        command: main -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops Test
        reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops Test
        elapsed time (seconds): 269.049
        ----------System.out:(0/0)----------
        ----------System.err:(14/737)----------
        java.lang.OutOfMemoryError: Java heap space
        at java.util.ArrayList.toArray(ArrayList.java:326)
        at Test.main(Test.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:717)

        JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Java heap space
        JavaTest Message: shutting down test

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: