RFR: 8343984: Fix Unsafe address overflow [v3]

Per Minborg pminborg at openjdk.org
Tue Nov 12 09:12:05 UTC 2024


On Tue, 12 Nov 2024 08:59:30 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> In the JDK code, there are some places that may cause Unsafe offset overflow. The probability of occurrence is low, but if it occurs, it will cause JVM crash.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   from @minborg

The generation of Java files works a bit differently from other places in the JDK (e.g. NIO). Now that the template has been changed, you also need to manually run the script `gen-src.sh` in order to regenerate the classes. So, they will then show up like they did in an earlier commit but share a single source of truth.

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

PR Comment: https://git.openjdk.org/jdk/pull/22027#issuecomment-2469971317


More information about the serviceability-dev mailing list