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. ------------- Commit messages: - 8285739: disable EA when both JVMTI and Preview are enabled Changes: https://git.openjdk.java.net/jdk/pull/8589/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8589&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8285739 Stats: 10 lines in 3 files changed: 5 ins; 0 del; 5 mod Patch: https://git.openjdk.java.net/jdk/pull/8589.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8589/head:pull/8589 PR: https://git.openjdk.java.net/jdk/pull/8589