Details
-
Enhancement
-
Resolution: Fixed
-
P2
-
None
-
b32
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8237294 | 15 | Maurizio Cimadamore | P2 | Resolved | Fixed | b07 |
JDK-8237702 | 14.0.2 | Maurizio Cimadamore | P2 | Resolved | Fixed | master |
JDK-8238123 | 14.0.1 | Unassigned | P2 | Resolved | Fixed | b02 |
Description
Over the course of the RFR and CSR review, several naming-related issues and other minor refinements were pointed out:
* There doesn't seem to be a predicate for "can I call close without an exception?" (isAlive && isAccessible) isn't sufficient.
* Should MemoryAddress implement Comparable?
* should we have a way to ask a Layout if its size is specified ?
* should we merge MemoryLayouts and MemoryLayout?
* MemoryAddress::offset() vs. MemoryAddress::offset(long) -- not much distance between these two semantically different operations
* MemorySegment::isAccessible() -- as the A* word is overloaded, some other name should be found?
* MemorySegment::acquire() -- replace with MemorySegment::fork?
* There doesn't seem to be a predicate for "can I call close without an exception?" (isAlive && isAccessible) isn't sufficient.
* Should MemoryAddress implement Comparable?
* should we have a way to ask a Layout if its size is specified ?
* should we merge MemoryLayouts and MemoryLayout?
* MemoryAddress::offset() vs. MemoryAddress::offset(long) -- not much distance between these two semantically different operations
* MemorySegment::isAccessible() -- as the A* word is overloaded, some other name should be found?
* MemorySegment::acquire() -- replace with MemorySegment::fork?
Attachments
Issue Links
- backported by
-
JDK-8237294 Memory access API refinements
-
- Resolved
-
-
JDK-8237702 Memory access API refinements
-
- Resolved
-
-
JDK-8238123 Memory access API refinements
-
- Resolved
-
- csr for
-
JDK-8236853 Memory access API refinements
-
- Closed
-
- relates to
-
JDK-8236845 foreign-jextract branch tip fails to build because of MemorySegment, MemoryAddress changes in memaccess
-
- Resolved
-
-
JDK-8234049 Implementation of Memory Access API (Incubator)
-
- Resolved
-
-
JDK-8237248 Update --release 14 symbol information for JDK 14 b32
-
- Resolved
-
(2 relates to)