RFR: 8316694: Implement relocation of nmethod within CodeCache [v15]

Chad Rakoczy duke at openjdk.org
Thu Jul 24 19:00:11 UTC 2025


On Wed, 14 May 2025 15:58:53 GMT, Tom Rodriguez <never at openjdk.org> wrote:

>> I assume that's copied from `JVMCINMethodData::invalidate_nmethod_mirror` which was updated in https://github.com/openjdk/jdk/commit/f81c192da929d72be5134ccf195be2a985737504. The description for [JDK-8234359](https://bugs.openjdk.org/browse/JDK-8234359) implies that this somehow avoids enqueuing potentially dead objects to the SATB buffer. Is that what we want here @tkrodriguez ?
>
> It should be passing true here as we are not in the middle of a GC so it should be alive and valid.

This change was removed as JVMCI nmethods with a mirror are currently excluded ([JDK-8357926](https://bugs.openjdk.org/browse/JDK-8357926))

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23573#discussion_r2229319404


More information about the hotspot-compiler-dev mailing list