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

compiler/codecache/jmx/PoolsIndependenceTest.java fails to Notification not being received

XMLWordPrintable

    • x86_64, aarch64
    • linux

      The following test failed in the JDK17 CI:

      compiler/codecache/jmx/PoolsIndependenceTest.java

      Error message:
      "UsageThresholdLimit was set to 2408193, max usage of 2787200 have been registered, but no notifications issued"

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/623)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCodeCacheFlushing -XX:-MethodFlushing -XX:-SegmentedCodeCache compiler.codecache.jmx.PoolsIndependenceTest
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-UseCodeCacheFlushing -XX:-MethodFlushing -XX:-SegmentedCodeCache compiler.codecache.jmx.PoolsIndependenceTest
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      elapsed time (seconds): 21.811
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(1/39)----------
      INFO: Starting scenario with CodeCache
      ----------System.err:(18/1458)----------
      java.lang.RuntimeException: UsageThresholdLimit was set to 2408193, max usage of 2787200 have been registered, but no notifications issued
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at compiler.codecache.jmx.PoolsIndependenceTest.lambda$runTest$0(PoolsIndependenceTest.java:132)
      at jdk.test.lib.Utils.waitForCondition(Utils.java:589)
      at jdk.test.lib.Utils.waitForCondition(Utils.java:561)
      at compiler.codecache.jmx.PoolsIndependenceTest.runTest(PoolsIndependenceTest.java:107)
      at compiler.codecache.jmx.PoolsIndependenceTest.main(PoolsIndependenceTest.java:84)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: UsageThresholdLimit was set to 2408193, max usage of 2787200 have been registered, but no notifications issued
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: UsageThresholdLimit was set to 2408193, max usage of 2787200 have been registered, but no notifications issued
      ----------rerun:(49/8214)*----------

            enikitin Evgeny Nikitin
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: