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

compiler/exceptions/OptimizeImplicitExceptions.java can't pass with -XX:+DeoptimizeALot

XMLWordPrintable

    • b21
    • generic

      $make test TEST="compiler/exceptions/OptimizeImplicitExceptions.java" JTREG="VM_OPTIONS=-XX:+DeoptimizeALot" CONF=linux-x86_64-server-fastdebug

      ==========================================================
      testMode=STACKTRACES_IN_FASTTHROW OmitStackTraceInFastThrow=false
      ==========================================================
      testMode=STACKTRACES_IN_FASTTHROW exception=NULL_POINTER_EXCEPTION invocations=5120
      decompilecount=0 trapCount=5120 trapCount(null_check)=5120 globalDeoptCount=0 globalDeoptCount(null_check)=0
      method compiled=true
      testMode=STACKTRACES_IN_FASTTHROW exception=NULL_POINTER_EXCEPTION invocations=5124
      decompilecount=0 trapCount=5124 trapCount(null_check)=5124 globalDeoptCount=4 globalDeoptCount(null_check)=4
      method compiled=true
      testMode=STACKTRACES_IN_FASTTHROW exception=NULL_POINTER_EXCEPTION invocations=5252
      decompilecount=0 trapCount=5252 trapCount(null_check)=5252 globalDeoptCount=133 globalDeoptCount(null_check)=132
      method compiled=true
      ----------System.err:(15/1029)----------
      java.lang.RuntimeException: Wrong number of deoptimizations.: expected 132 to equal 133
          at jdk.test.lib.Asserts.fail(Asserts.java:594)
          at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
          at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
          at compiler.exceptions.OptimizeImplicitExceptions.check(OptimizeImplicitExceptions.java:181)
          at compiler.exceptions.OptimizeImplicitExceptions.main(OptimizeImplicitExceptions.java:253)
          at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
          at java.base/java.lang.reflect.Method.invoke(Method.java:578)
          at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
          at java.base/java.lang.Thread.run(Thread.java:828)
      JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong number of deoptimizations.: expected 132 to equal 133
      JavaTest Message: shutting down test
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Wrong number of deoptimizations.: expected 132 to equal 133

            xliu Xin Liu
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: