RFR: 8316694: Implement relocation of nmethod within CodeCache [v37]
Chad Rakoczy
duke at openjdk.org
Thu Jul 17 00:10:58 UTC 2025
On Wed, 16 Jul 2025 22:11:21 GMT, Dean Long <dlong at openjdk.org> wrote:
> BTW, I thought there was an earlier discussion that decided relocation would only happen at a safepoint, but now I can't find it. Did I remember wrong?
There was a discussion a while back on whether one was needed or not. Here is the argument against one from https://github.com/openjdk/jdk/pull/23573#issuecomment-2831542576 :
> The safepoint is still causing more trouble than it solves. It was introduced due to oop phobia. What the oops really needed to stabilize is to run the entry barrier which you do now. The safepoint merely destabilizes the oops again while introducing latency problems and fun class redefinition interactions. It should be removed as I can't see it serves any purpose.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23573#issuecomment-3081871267
More information about the hotspot-compiler-dev
mailing list