RFR: 8274982: Add a test for 8269574. [v2]
David Holmes
dholmes at openjdk.java.net
Thu Dec 16 22:17:09 UTC 2021
On Thu, 16 Dec 2021 20:51:17 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Added a requirement for the c1 or c2.
>
> Really, we don't add @requires for jit compiler. There are a lot of tests that fail with Xnt.
Tests outside of the compiler area which explicitly use features like ` WB.enqueueMethodForCompilation` which explicitly will fail if there is no JIT either require the JIT or exclude running with Zero. See for example:
./runtime/Nestmates/protectionDomain/TestDifferentProtectionDomains.java
./runtime/Unsafe/InternalErrorTest.java
./runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java
EDIT: except of course this test is in the compiler area <sigh>. Okay perhaps overkill - sorry for the noise.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5889
More information about the serviceability-dev
mailing list