RFR: 8369642: [ubsan] nmethod::nmethod null pointer passed as argument 2 to memcpy [v2]

duke duke at openjdk.org
Fri Oct 17 17:44:21 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

@chadrako 
Your change (at version 2827dca8f2e677b96f1694bf184c09052e56db90) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27778#issuecomment-3416498964


More information about the hotspot-compiler-dev mailing list