RFR: 8285739: disable EA when both JVMTI and Preview are enabled [v2]
Leonid Mesnik
lmesnik at openjdk.java.net
Sat May 21 04:08:34 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
Affected tests are:
serviceability/jvmti/Heap/IterateHeapWithEscapeAnalysisEnabled.java
com/sun/jdi/EATests.java#id0
The pass in jdk/jdk because --enable-preview is not enabled but failed before fix in fibers branch where --enable-preview is enabled by default.
The should pass with --enabled-preview after fix. The are removed from problemlist in fibers branch in the fix:
https://github.com/openjdk/loom/commit/6520b71a62baf64d214ff94c9291bfc513dfbe51
-------------
PR: https://git.openjdk.java.net/jdk/pull/8589
More information about the hotspot-dev
mailing list