RFR: 8295413: com/sun/jdi/EATests.java fails with compiler flag -XX:+StressReflectiveCode

Vladimir Kozlov kvn at openjdk.org
Thu Oct 20 20:13:47 UTC 2022


On Thu, 20 Oct 2022 20:04:23 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> > Should we add check for `StressReflectiveCode` to all `shouldSkip()` methods too? Similar to `DeoptimizeObjectsALot` flag.
> 
> I'd be ok to skip all testcases (by checking for `StressReflectiveCode` in the base classes' `shouldSkip()`). The tests' purpose is to check if ea based optimizations are reverted appropriately. Doesn't help much to run them with `StressReflectiveCode` except for random fuzzing.
> 
> Would you like me to skip all test cases if running with `StressReflectiveCode`?

Yes. If this flag essentially disables EA I don't see a reason to run EA related tests.

-------------

PR: https://git.openjdk.org/jdk/pull/10769


More information about the serviceability-dev mailing list