Integrated: 8274952: jdk/jfr/api/consumer/TestRecordedFrameType.java failed when c1 disabled
Ao Qi
aoqi at openjdk.java.net
Mon Oct 11 02:21:09 UTC 2021
On Fri, 8 Oct 2021 08:57:24 GMT, Ao Qi <aoqi at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: a05873a2
Author: Ao Qi <aoqi at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a05873a225c40d12e60870794b9c993d1ea89cfe
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8274952: jdk/jfr/api/consumer/TestRecordedFrameType.java failed when c1 disabled
Reviewed-by: egahlin, jiefu
-------------
PR: https://git.openjdk.java.net/jdk/pull/5862
More information about the hotspot-jfr-dev
mailing list