RFR: 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries [v2]
Thomas Stuefe
stuefe at openjdk.org
Sat Jun 1 05:33:01 UTC 2024
On Fri, 31 May 2024 23:12:27 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> By using the `int*` type the assert could fail if the lower 32-bits of the function address were all zero. Trivial fix is to change to a type that is guaranteed the right size: `intptr_t*`
>>
>> Testing was done manually - see the JBS issue.
>>
>> Also run tier4 testing a sanity as it include `-Xcheck:jni`.
>>
>> Thanks.
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>
> Copyright year
Okay.
-------------
Marked as reviewed by stuefe (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19491#pullrequestreview-2092020656
More information about the hotspot-dev
mailing list