RFR: 8282191: Implementation of Foreign Function & Memory API (Preview) [v27]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Wed Apr 13 21:30:17 UTC 2022
On Wed, 13 Apr 2022 16:12:31 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add @ForceInline annotation on session accessor
>> Beef up UnrolledAccess benchmark
>
> src/java.base/share/classes/java/nio/channels/FileChannel.java line 1052:
>
>> 1050: public MemorySegment map(MapMode mode, long offset, long size,
>> 1051: MemorySession session)
>> 1052: throws IOException, UnsupportedOperationException
>
> Just a minor here is that UOE is a runtime exception so probably shouldn't be in the throws.
whoops - good catch - will fix!
-------------
PR: https://git.openjdk.java.net/jdk/pull/7888
More information about the core-libs-dev
mailing list