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

compiler/codecache/jmx/UsageThresholdIncreasedTest.java fails with "Usage threshold was hit"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b73
    • generic
    • generic

        compiler/codecache/jmx/UsageThresholdIncreasedTest.java is failing for the jdk9/hs snapshot job on macosx_x64, solarisx64, solaris sparcv9.
        This is blocking the merging of jdk9/hs with jdk9/dev
        Looks very similar to: JDK-8068461
        David Holmes indicates might be related to: JDK-8080999
        JPRT logs will be attached.

        ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-profiled nmethods' Threshold value: 55296 with current usage: 54784 (assert failed: 1 == 0)
        REASON: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-UseCodeCacheFlushing -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::* UsageThresholdIncreasedTest
        TIME: 1.727 seconds
        messages:
        command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-UseCodeCacheFlushing -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::* UsageThresholdIncreasedTest
        reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-UseCodeCacheFlushing -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::* UsageThresholdIncreasedTest
        elapsed time (seconds): 1.727
        STDOUT:
        CompileCommand: compileonly null.*
        STDERR:
        java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-profiled nmethods' Threshold value: 55296 with current usage: 54784 (assert failed: 1 == 0)
        at jdk.test.lib.Asserts.error(Asserts.java:444)
        at jdk.test.lib.Asserts.assertTrue(Asserts.java:371)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:166)
        at jdk.test.lib.Asserts.assertEQ(Asserts.java:140)
        at UsageThresholdIncreasedTest.checkUsageThresholdCount(UsageThresholdIncreasedTest.java:63)
        at UsageThresholdIncreasedTest.runTest(UsageThresholdIncreasedTest.java:89)
        at UsageThresholdIncreasedTest.main(UsageThresholdIncreasedTest.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-profiled nmethods' Threshold value: 55296 with current usage: 54784 (assert failed: 1 == 0)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Usage threshold was hit: 1 times for CodeHeap 'non-profiled nmethods' Threshold value: 55296 with current usage: 54784 (assert failed: 1 == 0)

              thartmann Tobias Hartmann
              amurillo Alejandro Murillo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: