On Wed, 19 Oct 2022 15:43:17 GMT, Richard Reingruber <rr...@openjdk.org> wrote:
> With `StressReflectiveCode` C2 has inexact type information which can prevent > ea > based optimizations (see `ConnectionGraph::add_call_node()`) > > This pr changes the test jdk/com/sun/jdi/EATests.java to read the flag > `StressReflectiveCode`. If enabled it shall neither expect ea based > optimizations > of allocations nor deoptimization of corresponding frames upon debugger > access. > > Tested on the standard platforms with fastdebug and release builds. > > > make test TEST=test/jdk/com/sun/jdi/EATests.java > TEST_VM_OPTS="-XX:+IgnoreUnrecognizedVMOptions -XX:+StressReflectiveCode" The tests haven't finished in 12h. Not sure if they ever will... Local testing (see above) was good though. ------------- PR: https://git.openjdk.org/jdk/pull/10769