Details
-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b29
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269449 | 18 | Paul Sandoz | P3 | Resolved | Fixed | b04 |
JDK-8270636 | 17.0.1 | Paul Sandoz | P3 | Resolved | Fixed | b03 |
Description
The Foreign Memory API supports viewing a MemorySegment as a ByteBuffer, an instance of which can then be passed to the vector load/store access methods.
Such ByteBuffer access requires accesses are scoped (a method annotated with ScopedMemoryAccess.Scoped) and the ByteBuffer's scope (instance of ScopedMemoryAccess.Scope) checked for validity. Thereby ensuring exceptional failure if a shared buffer has been closed.
Such ByteBuffer access requires accesses are scoped (a method annotated with ScopedMemoryAccess.Scoped) and the ByteBuffer's scope (instance of ScopedMemoryAccess.Scope) checked for validity. Thereby ensuring exceptional failure if a shared buffer has been closed.
Attachments
Issue Links
- backported by
-
JDK-8269449 Scoped ByteBuffer vector access
-
- Resolved
-
-
JDK-8270636 Scoped ByteBuffer vector access
-
- Resolved
-