Per Minborg
cf74b8c2a3
8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
...
Reviewed-by: alanb, liach
2023-09-19 13:10:51 +00:00
Alan Bateman
f4b900b607
8310902: (fc) FileChannel.transferXXX async close and interrupt issues
...
Reviewed-by: bpb
2023-06-29 05:42:19 +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
7baccd9ee2
8303260: (fc) FileChannel::transferFrom should support position > size()
...
Reviewed-by: alanb
2023-04-04 15:57:56 +00:00
Brian Burkhalter
9a8a60f7d6
8304833: (fc) Remove dead code in sun.nio.ch.FileChannelImpl::implCloseChannel
...
Reviewed-by: alanb
2023-03-24 14:52:58 +00:00
Maurizio Cimadamore
73baadceb6
8295044: Implementation of Foreign Function and Memory API (Second Preview)
...
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar
2022-12-05 13:49:53 +00:00
Brian Burkhalter
48cc15602b
8293331: Refactor FileDispatcherImpl into operating system-specific components
...
Reviewed-by: alanb
2022-09-22 15:59:05 +00:00
Brian Burkhalter
6e23b43220
8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
...
Reviewed-by: alanb
2022-09-19 15:57:06 +00:00
Brian Burkhalter
c74b6d4552
8292562: (fc) Use copy_file_range in FileChannel::transferTo on Linux
...
Reviewed-by: alanb
2022-08-26 16:12:58 +00:00
Maurizio Cimadamore
fed3af8ae0
8287809: Revisit implementation of memory session
...
Reviewed-by: jvernee
2022-07-11 14:30:19 +00:00
Brian Burkhalter
7cb368b34d
8286709: (fc) FileChannel/FileChannelImpl cleanup
...
Reviewed-by: alanb
2022-05-26 18:02:02 +00:00
Brian Burkhalter
d8b0b32f9f
8286763: [REDO] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-18 15:55:21 +00:00
Brian Burkhalter
5bea46110c
8286734: (fc) FileChannelImpl#map() cleanup after merge of Foreign Function & Memory API
...
Reviewed-by: alanb
2022-05-17 19:43:15 +00:00
Brian Burkhalter
583a61aabb
8286671: (fc) Modify sun.nio.ch.FileChannelImpl.map0() to accept a FileDescriptor parameter
...
Reviewed-by: alanb, jpai
2022-05-13 17:46:52 +00:00
Brian Burkhalter
369611ea34
8286677: [BACKOUT] (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: dholmes, mikael
2022-05-12 22:37:42 +00:00
Brian Burkhalter
986d87dcc0
8274113: (fc) Tune FileChannel.transferFrom()
...
Reviewed-by: alanb
2022-05-12 18:49:58 +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
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Brian Burkhalter
17cc7131ab
8274112: (fc) Tune FileChannel.transferTo()
...
Reviewed-by: alanb, lancea, rriggs
2022-05-04 14:33:16 +00:00
Brian Burkhalter
6445ee46b5
5041655: (ch) FileLock: negative param and overflow issues
...
Reviewed-by: alanb
2022-02-22 17:24:15 +00:00
Pavel Rappo
615063364a
8276348: Use blessed modifier order in java.base
...
Reviewed-by: dfuchs, darcy, iris, rriggs, martin
2021-11-03 10:07:48 +00:00
Brian Burkhalter
428d51694f
8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
...
Reviewed-by: alanb
2021-08-12 15:27:09 +00:00
Brian Burkhalter
e2c5bfe083
8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
...
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Maurizio Cimadamore
e66187d885
8259032: MappedMemorySegmentImpl#makeMappedSegment() ignores Unmapper#pagePosition
...
Co-authored-by: Uwe Schindler <uschindler@openjdk.org>
Reviewed-by: alanb
2021-01-06 12:18:43 +00: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
Brian Burkhalter
ea36a53b75
8241952: (fs) FileChannel.write(ByteBuffer src, long position) does not check for the FileChannel being closed first
...
Reviewed-by: lancea, alanb
2020-04-13 10:17:03 -07:00
Brian Burkhalter
79ec4004d7
8236661: launcher test PatchSystemModules.java start failing frequently after JDK-8234049
...
Reviewed-by: alanb, mchung
2020-01-14 11:06:03 -08: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
Andrew Dinn
047b8bfeb7
8224974: Implement JEP 352
...
Non-Volatile Mapped Byte Buffers
Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Andrew Dinn
1c7d214f53
8221397: Support implementation-defined Map Modes
...
Allow implementation-defined extensions to FileChannel MapMode enum
Reviewed-by: alanb
2019-04-09 16:21:20 +01:00
Brian Burkhalter
68f33ebd5a
8206290: Better FileChannel transfer performance
...
Reviewed-by: alanb, rhalade, mschoene
2018-09-25 16:49:51 -07: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
Alan Bateman
807c4ae4a3
8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
...
Reviewed-by: bpb
2018-06-26 08:13:02 +01:00
Alan Bateman
2df7aa7b9f
8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
...
Reviewed-by: bpb
2018-04-26 09:04:18 +01:00
Brian Burkhalter
5f7839ae5a
8196535: Remove support for pre-Java 6 non-JVM-wide file locking
...
Reviewed-by: alanb, rriggs
2018-02-05 15:08:46 -08:00
Roger Riggs
f29e21abb1
8080225: FileInput/OutputStream/FileChannel cleanup should be improved
...
Reviewed-by: mchung, plevart, bpb
2017-12-01 16:40:08 -05:00
Brian Burkhalter
18cbe428c1
8189963: Remove version of FileChannelImpl::open without the 'direct' parameter
...
Remove old version of FileChannelImpl::open and update call sites
Reviewed-by: rriggs
2017-10-26 11:08:31 -07:00
Lucy Lu
ec1c3bce45
8164900: Add support for O_DIRECT
...
Add support for Direct I/O in FileChannel
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Brian Burkhalter
848a4d9bae
8189209: java/lang/invoke/lambda/LambdaAsm.java failed with "could not create proxy classes"
...
Use an inner class for the closer instead of a lambda
Reviewed-by: alanb, rriggs
2017-10-12 10:28:20 -07:00
Brian Burkhalter
b890c3ce83
8147615: (fc) FileChannelImpl has no finalizer
...
Add a cleaner to close parent-less FileChannels
Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Roger Riggs
5e55e5e2ee
8187631: Refactor FileDescriptor close implementation
...
Reviewed-by: bpb, alanb
2017-09-21 11:41:12 -04:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00