RFR: 8285739: disable EA when both JVMTI and Preview are enabled

Richard Reingruber rrich at openjdk.java.net
Mon May 9 21:34:55 UTC 2022


On Mon, 9 May 2022 01:36:39 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> The fix disables EscapeBarrier and EscapeAnalysis when certain JVMTI capabilities are enabled and --enable-preview.
> 
> It restores the same behavior as it was before https://bugs.openjdk.java.net/browse/JDK-8227745 "Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents" is implemented when Continuations are enabled.

Hi Leonid,

have you done some testing? [JDK-8227745](https://bugs.openjdk.java.net/browse/JDK-8227745) came with a bunch of tests. I wonder how they behave with your change.

Thanks, Richard.

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

PR: https://git.openjdk.java.net/jdk/pull/8589


More information about the serviceability-dev mailing list