RFR: 8370344: Arbitrary Java frames on stack during scoped access [v6]
Martin Doerr
mdoerr at openjdk.org
Tue Nov 4 19:59:30 UTC 2025
On Tue, 4 Nov 2025 15:39:12 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Review comments Patricio
>
> Thanks for the reviews!
@JornVernee: The new test has failed on AIX:
[fork] FATAL ERROR in native method: Wrong object class or methodID passed to JNI call
[fork] at jdk.internal.foreign.MemorySessionImpl.checkValidStateRaw(java.base at 26-internal/MemorySessionImpl.java:206)
[fork] at jdk.internal.foreign.MemorySessionImpl.checkValidState(java.base at 26-internal/MemorySessionImpl.java:215)
[fork] at jdk.internal.foreign.SegmentFactories.allocateNativeInternal(java.base at 26-internal/SegmentFactories.java:189)
[fork] at jdk.internal.foreign.SegmentFactories.allocateNativeSegment(java.base at 26-internal/SegmentFactories.java:181)
[fork] at jdk.internal.foreign.ArenaImpl.allocate(java.base at 26-internal/ArenaImpl.java:56)
[fork] at jdk.internal.foreign.ArenaImpl.allocate(java.base at 26-internal/ArenaImpl.java:31)
[fork] at java.lang.foreign.SegmentAllocator.allocate(java.base at 26-internal/SegmentAllocator.java:644)
[fork] at TestSharedCloseJvmti$EventDuringScopedAccessRunner.<clinit>(TestSharedCloseJvmti.java:75)
Should I file a new issue?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27919#issuecomment-3487797511
More information about the hotspot-dev
mailing list