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

Boris Ulasevich bulasevich at openjdk.org
Wed Apr 30 19:38:58 UTC 2025


On Tue, 29 Apr 2025 21:16:34 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Yes, my mistake.  I was thinking `_jvmci_data_offset` was used to compute `jvmci_data_end()`, not `jvmci_data_begin()`.
>
> Yes we should use 32 bits. Even if we revert back to using _jvmci_data_offset we can **NOT** use uint16_t because size of relocation (after which JVMCI data is placed) data is bigger.

Thanks for the report. Yes, cast to uint16 is wrong. I am going to fix the issue here: https://github.com/openjdk/jdk/pull/24965

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21276#discussion_r2069328485


More information about the hotspot-compiler-dev mailing list