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

Richard Reingruber rrich at openjdk.java.net
Sat May 21 12:17:56 UTC 2022


On Fri, 20 May 2022 20:09:59 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.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   2nd v

Hi Leonid,
if EscapeAnalysis is not disabled, then local objects cannot be read per JVMTI if they are scalarized in compiled frames on the heap, right? This would be a problem I'd think.
Thanks, Richard.

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

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


More information about the serviceability-dev mailing list