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

Richard Reingruber rrich at openjdk.java.net
Mon May 23 10:24:03 UTC 2022


On Sat, 21 May 2022 16:09:17 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> > 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.
> 
> Yes, the fix restores correct behavior for platform threads if --enable-preview is on. The [JDK-8285739](https://bugs.openjdk.java.net/browse/JDK-8285739) should fix this for virtual threads.

Could it be that you mean [JDK-8264699](https://bugs.openjdk.java.net/browse/JDK-8264699)?

I'm ok with this version of your fix. I'd suggest to change title/synopsis of the bug report to better match it though.

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

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


More information about the hotspot-dev mailing list