Per Minborg
f69b6016d6
8343188: Investigate ways to simplify MemorySegment::ofBuffer
...
Reviewed-by: mcimadamore
2024-11-04 11:06:25 +00:00
Maurizio Cimadamore
5977888500
8339686: java/foreign/TestMappedHandshake.java fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
...
8339780: TestByteBuffer fails on AIX after 8339285
Reviewed-by: alanb, jvernee
2024-09-11 11:18:38 +00:00
Brian Burkhalter
9fa8b9a4a6
8307409: Refactor usage examples to use @snippet in the java.nio packages
...
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Per Minborg
cbccc4c817
8304265: Implementation of Foreign Function and Memory API (Third Preview)
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jvernee, vlivanov, psandoz
2023-04-27 09:00:58 +00:00
Brian Burkhalter
c4278144be
8299982: (bf) Buffer.checkIndex(int, int) should use Preconditions.checkIndex(int, int, BiFunction)
...
Reviewed-by: uschindler, vtewari, rriggs, alanb
2023-01-26 20:09:01 +00:00
Per Minborg
8a10eef408
8299193: (bf) Buffer.capacity should be declared final
...
Reviewed-by: rriggs, dholmes, jpai
2023-01-02 13:25:04 +00:00
Per Minborg
84b927a05b
8296024: Usage of DirectBuffer::address should be guarded
...
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +00:00
Per Minborg
171553a611
8297194: Add a @sealedGraph tag to Buffer
...
Reviewed-by: alanb
2022-11-17 11:46:51 +00:00
Maurizio Cimadamore
fed3af8ae0
8287809: Revisit implementation of memory session
...
Reviewed-by: jvernee
2022-07-11 14:30:19 +00:00
Maurizio Cimadamore
89a1d055d9
8286715: Generalize MemorySegment::ofBuffer
...
Reviewed-by: jvernee
2022-05-23 08:43:51 +00:00
Maurizio Cimadamore
2c5d136260
8282191: Implementation of Foreign Function & Memory API (Preview)
...
Reviewed-by: erikj, jvernee, psandoz, dholmes, mchung
2022-05-12 16:17:45 +00:00
Brian Burkhalter
b36cf35ad9
8283417: Update java.nio buffers to use sealed classes
...
Reviewed-by: rriggs, darcy, iris, alanb
2022-03-24 16:11:57 +00:00
Maurizio Cimadamore
d65c665839
8279527: Dereferencing segments backed by different scopes leads to pollution
...
Reviewed-by: psandoz, jvernee
2022-01-07 13:41:29 +00:00
Maurizio Cimadamore
96e36071b6
8275063: Implementation of Foreign Function & Memory API (Second incubator)
...
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Yi Yang
5cee23a9ed
8265518: C1: Intrinsic support for Preconditions.checkIndex
...
Reviewed-by: dfuchs, iveresov
2021-06-12 01:03:50 +00:00
Maurizio Cimadamore
a223189b06
8264774: Implementation of Foreign Function and Memory API (Incubator)
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Brian Burkhalter
a5367cbb7a
8247619: Improve Direct Buffering of Characters
...
Reviewed-by: alanb, ahgross, rhalade, psandoz
2021-01-21 07:41:18 -08:00
Maurizio Cimadamore
b03880e33b
8259634: MemorySegment::asByteBuffer does not respect spatial bounds
...
Reviewed-by: alanb, chegar
2021-01-12 17:09:05 +00:00
Maurizio Cimadamore
3e70aac5cc
8254162: Implementation of Foreign-Memory Access API (Third Incubator)
...
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Philippe Marschall
2a406f3ce5
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
...
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Brian Burkhalter
c90e523e0a
8238920: Better Buffer support
...
Reviewed-by: alanb, ahgross, rhalade, psandoz
2020-03-17 14:05:19 -07:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Denghui Dong
a62a0e5282
8238665: Add JFR event for direct memory statistics
...
Reviewed-by: egahlin, alanb
2020-04-14 20:36:33 +02:00
Jorn Vernee
8f4f088a12
8234049: Implementation of Memory Access API (Incubator)
...
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +00:00
Julia Boes
b15b322cf3
8230648: Replace @exception tag with @throws in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Brian Burkhalter
7211761cab
8219876: (bf) Improve IndexOutOfBoundsException messages in $Type$Buffer classes
...
Reviewed-by: alanb, rriggs
2019-03-15 16:24:07 -07:00
Brian Burkhalter
fad1f059b0
5071718: (bf) Add ByteBuffer.slice(int offset, int length)
...
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
Mandy Chung
9ffe7e1205
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
...
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Brian Burkhalter
ba1d068078
8210279: (bf) Remove unused package private method java.nio.Buffer.truncate()
...
Reviewed-by: alanb
2018-09-04 09:07:06 -07:00
Brian Burkhalter
52f2eca5d9
8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
...
Reviewed-by: alanb, psandoz
2018-08-08 09:25:10 -07:00
Claes Redestad
173732afaa
8207235: ManagementFactory.getPlatformMXBeans(BufferPoolMXBean.class) throws NPE
...
Reviewed-by: alanb
2018-07-13 18:39:11 +02:00
Claes Redestad
9ab38159e8
8201494: Avoid early initialization of java.nio.Bits
...
Reviewed-by: rriggs, alanb
2018-04-12 17:23:32 +02:00
Paul Sandoz
fb9db6b02d
8193085: Vectorize the nio Buffer equals and compareTo implementations
...
Reviewed-by: alanb
2017-12-20 09:14:52 -08:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00