RFR: 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents [v12]

Richard Reingruber rrich at openjdk.java.net
Sun Oct 18 06:20:25 UTC 2020


> Hi,
> 
> this is the continuation of the review of the implementation for:
> 
> https://bugs.openjdk.java.net/browse/JDK-8227745
> https://bugs.openjdk.java.net/browse/JDK-8233915
> 
> It allows for JIT optimizations based on escape analysis even if JVMTI agents acquire capabilities to access references
> to objects that are subject to such optimizations, e.g. scalar replacement. The implementation reverts such
> optimizations just before access very much as when switching from JIT compiled execution to the interpreter, aka
> "deoptimization".  Webrev.8 was the last one before before the transition to Git/Github:
> 
> http://cr.openjdk.java.net/~rrich/webrevs/8227745/webrev.8/
> 
> Thanks, Richard.

Richard Reingruber has updated the pull request incrementally with one additional commit since the last revision:

  handle_special_runtime_exit_condition(): wait (blocked) for obj. deoptimization _before_ async ex. check.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/119/files
  - new: https://git.openjdk.java.net/jdk/pull/119/files/f02f07b6..272fb025

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=119&range=11
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=119&range=10-11

  Stats: 10 lines in 1 file changed: 5 ins; 5 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/119.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/119/head:pull/119

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


More information about the serviceability-dev mailing list