META-INF.modules.java.base.classes.sun.nio.ch.FileChannelImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? 7?
???
? ??
? ? ? ? ? ? ? ??
? ? ??
?
?? ?
???
?
?? ??
?
??
? ?
?
?
?? ?
???????
)?
)?
)?
???
.?
?? 1? ???
4? ???
??
9?
?
??
?
?
?
?
E?????????
???
E??
G?
E?
??????????
E??
N?
??
????
??
???
U??
U?
??
??
??
??
?????????? ? ????????? ???
?? f?
??
?
? ?
?? g?
?6?
??6?
??
t
?
?
?
?
?
???
\\?
??
?
?
e?
?? g g
E
y?
??
?!
?" #
$%
&' d
?()
?*
?+,
y-
?.
/0
?12
??3
?4
.5
6
?7
?89
??
?:;
?<
.?
.?
=
>?
@A
?B
CD Unmapper InnerClasses Closer allocationGranularity J fdAccess .Ljdk/internal/misc/JavaIOFileDescriptorAccess; nd Lsun/nio/ch/FileDispatcher; fd Ljava/io/FileDescriptor; writable Z readable parent Ljava/lang/Object; path Ljava/lang/String; threads Lsun/nio/ch/NativeThreadSet; positionLock uninterruptible direct alignment I closerE Cleanable !Ljava/lang/ref/Cleaner$Cleanable; transferSupported
pipeSupported
fileSupported MAPPED_TRANSFER_SIZE
ConstantValue
TRANSFER_SIZE MAP_RO MAP_RW MAP_PV
fileLockTable Lsun/nio/ch/FileLockTable; $assertionsDisabled B(Ljava/io/FileDescriptor;Ljava/lang/String;ZZZLjava/lang/Object;)V Code LineNumberTable LocalVariableTable this Lsun/nio/ch/FileChannelImpl;
StackMapTableF open `(Ljava/io/FileDescriptor;Ljava/lang/String;ZZZLjava/lang/Object;)Ljava/nio/channels/FileChannel;
ensureOpen ()V
Exceptions setUninterruptible
beginBlocking endBlocking (Z)V completedG implCloseChannel fl Ljava/nio/channels/FileLock; uioe Ljava/io/UncheckedIOException;H read (Ljava/nio/ByteBuffer;)I n ti dst Ljava/nio/ByteBuffer;I ([Ljava/nio/ByteBuffer;II)J dsts [Ljava/nio/ByteBuffer; offset length write src srcs position ()J append p "(J)Ljava/nio/channels/FileChannel; newPosition size s truncate rv rp newSize force metaData transferToDirectlyInternal D(JILjava/nio/channels/WritableByteChannel;Ljava/io/FileDescriptor;)J icount target 'Ljava/nio/channels/WritableByteChannel; targetFDJ transferToDirectly ,(JILjava/nio/channels/WritableByteChannel;)J sc %Ljava/nio/channels/SelectableChannel; pos thisFDVal targetFDVal transferToTrustedChannel ,(JJLjava/nio/channels/WritableByteChannel;)J dbb Ljava/nio/MappedByteBuffer;
suppressed Ljava/lang/Throwable; e .Ljava/nio/channels/ClosedByInterruptException; ioe Ljava/io/IOException; count isSelChImpl remainingK transferToArbitraryChannel nr nw x c bb tw
transferTo sz transferFromFileChannel !(Lsun/nio/ch/FileChannelImpl;JJ)J max nwritten transferFromArbitraryChannel ,(Ljava/nio/channels/ReadableByteChannel;JJ)J 'Ljava/nio/channels/ReadableByteChannel;L transferFrom (Ljava/nio/ByteBuffer;J)I readInternal
writeInternal unmap (Ljava/nio/MappedByteBuffer;)V cl Ljdk/internal/ref/Cleaner;M mapN MapMode F(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer; dummy y Ljava/lang/InterruptedException; Ljava/lang/OutOfMemoryError; filesize mapPosition mapSize pagePosition mfd isize um %Lsun/nio/ch/FileChannelImpl$Unmapper; mode 'Ljava/nio/channels/FileChannel$MapMode; imode addr getMappedBufferPoolP
BufferPool .()Ljdk/internal/misc/JavaNioAccess$BufferPool; ()Lsun/nio/ch/FileLockTable; lock !(JJZ)Ljava/nio/channels/FileLock; fli2 Lsun/nio/ch/FileLockImpl; shared fli flt tryLock result release (Lsun/nio/ch/FileLockImpl;)V map0 (IJJ)J unmap0 (JJ)I transferTo0 5(Ljava/io/FileDescriptor;JJLjava/io/FileDescriptor;)J initIDs *(J)Ljava/nio/channels/SeekableByteChannel;
SourceFile FileChannelImpl.java NestMembers ? sun/nio/ch/NativeThreadSet ?Q ? ? java/lang/Object ? ? ? ? ? ? ? ? ? ? ? ? ? ? sun/nio/ch/FileDispatcherImpl ? ? ? ? java/lang/AssertionErrorRS ? ?TUV !sun/nio/ch/FileChannelImpl$Closer ?WXYZ ? ? sun/nio/ch/FileChannelImpl ? ?[\ (java/nio/channels/ClosedChannelException ? ?]^ _\ ? ?`abcde\fg java/nio/channels/FileLockh\"#(#?i sun/nio/ch/FileLockImpljk java/io/Closeablelm java/io/UncheckedIOExceptionno ? ?plW -java/nio/channels/NonReadableChannelExceptionqrstuvQ wxyz sun/nio/ch/IOStatus{| #java/lang/IndexOutOfBoundsExceptionw}~{ -java/nio/channels/NonWritableChannelExceptionz~??(??? "java/lang/IllegalArgumentException
Negative size ??*?.??\????? sun/nio/ch/SinkChannelImpl ? ? ? ? ? ? sun/nio/ch/SelChImpl #java/nio/channels/SelectableChannel??????01"&????wfiab ,java/nio/channels/ClosedByInterruptException java/lang/Throwable?? java/io/IOException????????^?????? java/lang/Integer78>?L8^UVYZ java/lang/NullPointerException Negative position?\_^`^ sun/nio/ch/DirectBufferU? Mode is null Position + size overflow Size exceeds Integer.MAX_VALUE?w?w?} BChannel not open for writing - cannot extend file to required size java/io/FileDescriptor???? ? ??? java/lang/OutOfMemoryError???? java/lang/InterruptedException???
Map failed ?????? #sun/nio/ch/FileChannelImpl$Unmapper ?? sun/nio/ch/FileChannelImpl$1 sun/nio/ch/FileLockTable ?? ?? ?~t?v? /java/nio/channels/FileLockInterruptionException? sun/nio/ch/FileDispatcher??*&??\?????# java/nio/channels/FileChannel java/lang/ref/Cleaner$Cleanable java/lang/String ,java/nio/channels/AsynchronousCloseException java/util/Iterator java/nio/ByteBuffer %java/nio/channels/WritableByteChannel java/nio/MappedByteBuffer %java/nio/channels/ReadableByteChannel jdk/internal/ref/Cleaner %java/nio/channels/FileChannel$MapMode? *jdk/internal/misc/JavaNioAccess$BufferPool (I)V setDirectIO -(Ljava/io/FileDescriptor;Ljava/lang/String;)I jdk/internal/ref/CleanerFactory cleaner ()Ljava/lang/ref/Cleaner; (Ljava/io/FileDescriptor;)V java/lang/ref/Cleaner register I(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable; isOpen ()Z begin end valid removeAll ()Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; isValid (Ljava/io/FileDescriptor;JJ)V
invalidate
signalAndWait close clean getCause ()Ljava/io/IOException; ,jdk/internal/misc/JavaIOFileDescriptorAccess sun/nio/ch/Util checkChannelPositionAligned (JI)V add ()I remove check (I)Z sun/nio/ch/IOUtil P(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;JZILsun/nio/ch/NativeDispatcher;)I normalize (I)I (J)Z R(Ljava/io/FileDescriptor;[Ljava/nio/ByteBuffer;IIZILsun/nio/ch/NativeDispatcher;)J (J)J getAppend (Ljava/io/FileDescriptor;)Z (Ljava/io/FileDescriptor;)J seek (Ljava/io/FileDescriptor;J)J (Ljava/lang/String;)V (Ljava/io/FileDescriptor;J)I (Ljava/io/FileDescriptor;Z)I #transferToDirectlyNeedsPositionLock java/lang/Thread holdsLock (Ljava/lang/Object;)Z canTransferToDirectly ((Ljava/nio/channels/SelectableChannel;)Z getFD ()Ljava/io/FileDescriptor; fdVal (Ljava/io/FileDescriptor;)I java/lang/Math min (JJ)J READ_ONLY
addSuppressed (Ljava/lang/Throwable;)V (II)I getTemporaryDirectBuffer (I)Ljava/nio/ByteBuffer; erase (Ljava/nio/ByteBuffer;)V limit flip ()Ljava/nio/ByteBuffer; clear releaseTemporaryDirectBuffer needsPositionLock ()Ljdk/internal/ref/Cleaner;
READ_WRITE PRIVATE checkAll newMappedByteBufferR K(IJLjava/io/FileDescriptor;Ljava/lang/Runnable;)Ljava/nio/MappedByteBuffer; newMappedByteBuffer java/lang/System gc sleep (J)V
currentThread ()Ljava/lang/Thread; interrupt *(Ljava/lang/String;Ljava/lang/Throwable;)V duplicateForMapping 2(Ljava/io/FileDescriptor;)Ljava/io/FileDescriptor; (JJILjava/io/FileDescriptor;)V 6(Ljava/nio/channels/Channel;Ljava/io/FileDescriptor;)V %(Ljava/nio/channels/FileChannel;JJZ)V (Ljava/nio/channels/FileLock;)V (Ljava/io/FileDescriptor;ZJJZ)I replace ;(Ljava/nio/channels/FileLock;Ljava/nio/channels/FileLock;)V java/lang/Class desiredAssertionStatus jdk/internal/misc/SharedSecrets getJavaIOFileDescriptorAccess 0()Ljdk/internal/misc/JavaIOFileDescriptorAccess; load jdk/internal/misc/JavaNioAccess ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? ? ? J ? ? J ? ? J ? ? ? ? ? m ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? ? * ? ? ? v ?*? *? Y? ? *? Y? ? *+? *? *?
*? *,? *?
*? Y? ? ? %? ? ,? ? Y? ?**? +,? ? ? *? *? ? ? *? Y+? ? ? ? ? F t P S u v % w + x 1 y 6 z <