RFR: 8343789: Move mutable nmethod data out of CodeCache [v11]

Boris Ulasevich bulasevich at openjdk.org
Thu Feb 20 23:10:06 UTC 2025


On Thu, 20 Feb 2025 21:20:58 GMT, Dean Long <dlong at openjdk.org> wrote:

> If we put the "oop pool" nearby, then we could continue to use the shorter instruction sequence. We could put the oops in a "DataBlob" in the codecache.

That’s an interesting approach! By putting oops together, we can help the GC. However, the maximum offset for PC-relative LDR instructions in AArch64 is ±1MB, which is quite short for accessing a common DataBlob.

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

PR Comment: https://git.openjdk.org/jdk/pull/21276#issuecomment-2672908511


More information about the hotspot-compiler-dev mailing list