RFR: 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode [v2]
Vladimir Kozlov
kvn at openjdk.org
Thu Oct 20 22:06:52 UTC 2022
On Thu, 20 Oct 2022 20:55:12 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"
>
> Richard Reingruber has updated the pull request incrementally with one additional commit since the last revision:
>
> Skip all test cases if StressReflectiveCode is enabled
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10769
More information about the serviceability-dev
mailing list