Integrated: 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
David Holmes
dholmes at openjdk.org
Sun Jun 2 20:13:04 UTC 2024
On Thu, 30 May 2024 23:43:00 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.
This pull request has now been integrated.
Changeset: 8338946a
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8338946a6d765eab9cd7a6cbc24c865a9cd355e7
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Reviewed-by: dcubed, stuefe
-------------
PR: https://git.openjdk.org/jdk/pull/19491
More information about the hotspot-dev
mailing list