RFR: 8274982: Add a test for 8269574.
Serguei Spitsyn
sspitsyn at openjdk.java.net
Wed Nov 10 22:35:34 UTC 2021
On Mon, 11 Oct 2021 09:55:28 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> This PR contains a relatively simple test which verifies that JVMTI-agents are correctly informed about exceptions caught in C2-compiled code. The 8269574 introduces pre-allocated exceptions in some paths, so the test tries to produce a number of various exceptions and check that provided small JVMTI agent got notified about all of them.
test/hotspot/jtreg/compiler/jvmti/TriggerBuiltinExceptionsTest.java line 128:
> 126:
> 127: Asserts.assertEQ(
> 128: TriggerBuiltinExceptionsTest.caughtByJVMTIAgent(), caughtByJavaTest,
What is the reason to use the class name prefix for methods? :
TriggerBuiltinExceptionsTest.compileMethodOrThrow
TriggerBuiltinExceptionsTest.methodToCompile
TriggerBuiltinExceptionsTest.caughtByJVMTIAgent
It is not really needed, tight?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5889
More information about the hotspot-compiler-dev
mailing list