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

jdk/jfr/api/consumer/TestRecordedFrameType.java failed when c1 disabled

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • None
    • jfr
    • b19

    Description

      jdk/jfr/api/consumer/TestRecordedFrameType.java requires c1:

       73 if (!WB.enqueueMethodForCompilation(mtd, 1)) {
       74 throw new Exception("Could not enqueue method for CompLevel_simple");
       75 }

      When c1 is disabled, the test failed:

      STDOUT:
      2 compiler directives added
      WB error: no compiler for requested compilation level 1
      STDERR:
      java.lang.Exception: Could not enqueue method for CompLevel_simple
      at jdk.jfr.api.consumer.TestRecordedFrameType.main(TestRecordedFrameType.java:74)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.Exception: Could not enqueue method for CompLevel_simple
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Could not enqueue method for CompLevel_simple

      Attachments

        Issue Links

          Activity

            People

              aoqi Qi Ao
              aoqi Qi Ao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: