RFR: 8369642: [ubsan] nmethod::nmethod null pointer passed as argument 2 to memcpy [v2]
Vladimir Kozlov
kvn at openjdk.org
Wed Oct 15 19:50:45 UTC 2025
On Tue, 14 Oct 2025 22:33:40 GMT, Chad Rakoczy <duke at openjdk.org> wrote:
>> [JDK-8316694](https://bugs.openjdk.org/browse/JDK-8316694) introduced a counter so that the nmethod immutable data can be shared between relocated nmethods to eliminate an unnecessary copy. The counter is aligned in memory so that must be taken into account when calculating the amount of memory used by the counter
>
> Chad Rakoczy has updated the pull request incrementally with one additional commit since the last revision:
>
> Add reference counter offset
Yes, this works too. Let me test it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27778#issuecomment-3408011734
More information about the hotspot-compiler-dev
mailing list