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" This pull request has now been integrated. Changeset: 08d3ef4f Author: Richard Reingruber <rr...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/08d3ef4fe60460d94b0a2db0b6671adc56a6653c Stats: 16 lines in 1 file changed: 16 ins; 0 del; 0 mod 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode Reviewed-by: lmesnik, kvn, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/10769