RFR: 8292917: [JVMCI] Extend InstalledCode API to make an nmethod non entrant. [v2]
Doug Simon
dnsimon at openjdk.org
Fri Aug 26 11:19:06 UTC 2022
> The existing `InstalledCode.invalidate()` method not only makes the underlying nmethod non-entrant but also immediately deoptimizes all current activations of the nmethod.
> In some scenarios, it's useful to be able to make the nmethod non-entrant but let existing activations complete. For example, which installing new code in Truffle tiered compilation.
> This PR adds `InstalledCode.invalidate(boolean deoptimize)` for that purpose.
Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
fix compilation error
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10039/files
- new: https://git.openjdk.org/jdk/pull/10039/files/9a9ad287..a71c27cc
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10039&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10039&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/10039.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10039/head:pull/10039
PR: https://git.openjdk.org/jdk/pull/10039
More information about the hotspot-compiler-dev
mailing list