-
Enhancement
-
Resolution: Fixed
-
P3
-
None
If the arena is re-assigned by `MemorySegment::reinterpret`, the reinterpreted segment is not tied explicitly to the new arena. Instead, the old arena will free the segment upon being closed. This might cause use-after-free problems if a segment is re-assigned from an Arena other than Global (which is never closed).
We should add verbiage to clarify how this works in the JavaDocs
We should add verbiage to clarify how this works in the JavaDocs
- links to
-
Commit(master) openjdk/jdk/646d64e8
-
Review(master) openjdk/jdk/21761