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

Test compiler/whitebox/ForceNMethodSweepTest.java failed: sweep after deoptimization should decrease usage

XMLWordPrintable

    • gc

      #section:main
      ----------messages:(7/959)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* -XX:-BackgroundCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+EagerJVMCI compiler.whitebox.ForceNMethodSweepTest
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:-TieredCompilation -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* -XX:-BackgroundCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions -XX:+EagerJVMCI compiler.whitebox.ForceNMethodSweepTest
      started: Sat Dec 07 12:22:43 GMT 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      finished: Sat Dec 07 12:22:44 GMT 2024
      elapsed time (seconds): 0.497
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(25/648)----------
      CompileCommand: compileonly compiler/whitebox/SimpleTestCaseHelper.* bool compileonly = true
      TEST CASE:CONSTRUCTOR_TEST
      at test's start:

      private compiler.whitebox.SimpleTestCaseHelper(int):
      compilable: true
      compiled: false
      comp_level: 0
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: false
      compile_queues_size: 0

      on exception 'sweep after deoptimization should decrease usage: expected that 1181056 < 1180736':
      private compiler.whitebox.SimpleTestCaseHelper(int):
      compilable: true
      compiled: false
      comp_level: 0
      osr_compilable: true
      osr_compiled: false
      osr_comp_level: 0
      in_queue: false
      compile_queues_size: 0

      ----------System.err:(29/2121)----------
      java.lang.RuntimeException: sweep after deoptimization should decrease usage: expected that 1181056 < 1180736
      at jdk.test.lib.Asserts.fail(Asserts.java:691)
      at jdk.test.lib.Asserts.assertLessThan(Asserts.java:101)
      at jdk.test.lib.Asserts.assertLT(Asserts.java:72)
      at compiler.whitebox.ForceNMethodSweepTest.test(ForceNMethodSweepTest.java:89)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:166)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:125)
      at compiler.whitebox.ForceNMethodSweepTest.main(ForceNMethodSweepTest.java:53)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)
      java.lang.RuntimeException: sweep after deoptimization should decrease usage: expected that 1181056 < 1180736
      at jdk.test.lib.Asserts.fail(Asserts.java:691)
      at jdk.test.lib.Asserts.assertLessThan(Asserts.java:101)
      at jdk.test.lib.Asserts.assertLT(Asserts.java:72)
      at compiler.whitebox.ForceNMethodSweepTest.test(ForceNMethodSweepTest.java:89)
      at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:166)
      at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:125)
      at compiler.whitebox.ForceNMethodSweepTest.main(ForceNMethodSweepTest.java:53)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: