RFR: 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode
Leonid Mesnik
lmesnik at openjdk.org
Thu Oct 20 19:45:52 UTC 2022
On Wed, 19 Oct 2022 15:43:17 GMT, Richard Reingruber <rrich at 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"
Marked as reviewed by lmesnik (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/10769
More information about the serviceability-dev
mailing list