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

jdk/internal/reflect/CallerSensitive/CheckCSMs.java test fails when -Xmx512m set

    Details

      Backports

        Description

        the test failed in hs PIT with the following message:
        #section:main
        ----------messages:(5/336)----------
        command: main CheckCSMs
        reason: User specified action: run main/othervm/timeout=900 CheckCSMs
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jdeps --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED --add-exports jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED
        elapsed time (seconds): 312.388
        ----------configuration:(5/184)----------
        Boot Layer
          add modules: jdk.jdeps
          add exports: jdk.jdeps/com.sun.tools.classfile ALL-UNNAMED
                       jdk.jdeps/com.sun.tools.jdeps ALL-UNNAMED

        ----------System.out:(0/0)----------
        ----------System.err:(10/524)----------

        Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-2"

        Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-1"

        Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-3"

        Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread"

        Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

          Issue Links

            Activity

            Hide
            iignatyev Igor Ignatyev added a comment -
            might be the same issue as JDK-8191351
            Show
            iignatyev Igor Ignatyev added a comment - might be the same issue as JDK-8191351
            Hide
            mchung Mandy Chung added a comment -
            I am not able to reproduce OOME on linux x64 with the following flags:
            -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-UseCompressedOops

            One can reopen this issue if this test failure occurs again.
            Show
            mchung Mandy Chung added a comment - I am not able to reproduce OOME on linux x64 with the following flags: -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-UseCompressedOops One can reopen this issue if this test failure occurs again.
            Show
            lmesnik Leonid Mesnik added a comment - Here is new instance http://java-dev.se.oracle.com:10061/api/v1/results/68a8b117-bdad-4419-9265-38b4511d807b/log Linkt to the page with all test results: http://java-dev.se.oracle.com:10067/mdash/jobs/lmesnik-hs-20171215-2312-7828/results?query=status:failed
            Hide
            iignatyev Igor Ignatyev added a comment -
            happened again on solaris-sparc:
            #section:main
            ----------messages:(5/336)----------
            command: main CheckCSMs
            reason: User specified action: run main/othervm/timeout=900 CheckCSMs
            Mode: othervm [/othervm specified]
            Additional options from @modules: --add-modules jdk.jdeps --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED --add-exports jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED
            elapsed time (seconds): 158.711
            ----------configuration:(5/184)----------
            Boot Layer
              add modules: jdk.jdeps
              add exports: jdk.jdeps/com.sun.tools.classfile ALL-UNNAMED
                           jdk.jdeps/com.sun.tools.jdeps ALL-UNNAMED

            ----------System.out:(0/0)----------
            ----------System.err:(9/552)----------
            Unsupported @CallerSensitive: java/lang/Runtime#load (Ljava/lang/String;)V
            Unsupported @CallerSensitive: java/io/ObjectStreamClass#forClass ()Ljava/lang/Class;
            Unsupported @CallerSensitive: java/io/ObjectStreamField#getType ()Ljava/lang/Class;

            Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread"

            Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-3"

            Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
            Show
            iignatyev Igor Ignatyev added a comment - happened again on solaris-sparc: #section:main ----------messages:(5/336)---------- command: main CheckCSMs reason: User specified action: run main/othervm/timeout=900 CheckCSMs Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jdeps --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED --add-exports jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED elapsed time (seconds): 158.711 ----------configuration:(5/184)---------- Boot Layer   add modules: jdk.jdeps   add exports: jdk.jdeps/com.sun.tools.classfile ALL-UNNAMED                jdk.jdeps/com.sun.tools.jdeps ALL-UNNAMED ----------System.out:(0/0)---------- ----------System.err:(9/552)---------- Unsupported @CallerSensitive: java/lang/Runtime#load (Ljava/lang/String;)V Unsupported @CallerSensitive: java/io/ObjectStreamClass#forClass ()Ljava/lang/Class; Unsupported @CallerSensitive: java/io/ObjectStreamField#getType ()Ljava/lang/Class; Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-1-thread-3" Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
            Hide
            mchung Mandy Chung added a comment -
            The test memory usage exceeds 512 MB and hence OOME. I believe we could reduce its memory consumption.
            Show
            mchung Mandy Chung added a comment - The test memory usage exceeds 512 MB and hence OOME. I believe we could reduce its memory consumption.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk/jdk10/rev/9c022c19c960
            User: mchung
            Date: 2018-01-15 00:47:15 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk10/rev/9c022c19c960 User: mchung Date: 2018-01-15 00:47:15 +0000

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                iignatyev Igor Ignatyev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: