On Thu, 20 Oct 2022 20:55:12 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"
>
> 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

Reply via email to