On Tue, 12 Nov 2024 16:30:12 GMT, Shaojin Wen <s...@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:
> 
>   fix copyright

@liach provided a new idea, which is to change the type of 
jdk.internal.misc.Unsafe.ARRAY_XXX_OFFSET from int to long. I think @liach's 
idea is better, that is the way to completely solve this problem.

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

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

Reply via email to