io.netty.util.internal.CleanerJava6.class Maven / Gradle / Ivy
???? 2 ~ #io/netty/util/internal/CleanerJava6 java/lang/Object io/netty/util/internal/Cleaner CleanerJava6.java CLEANER_FIELD_OFFSET J CLEAN_METHOD Ljava/lang/reflect/Method; logger /Lio/netty/util/internal/logging/InternalLogger; ()V
this %Lio/netty/util/internal/CleanerJava6; isSupported ()Z ???????? freeDirectBuffer (Ljava/nio/ByteBuffer;)V java/lang/Throwable java/nio/ByteBuffer isDirect
! )io/netty/util/internal/PlatformDependent0 # getObject '(Ljava/lang/Object;J)Ljava/lang/Object; % &
$ '
) java/lang/reflect/Method + invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; - .
, / throwException (Ljava/lang/Throwable;)V 1 2
$ 3 cleaner Ljava/lang/Object; cause Ljava/lang/Throwable; buffer Ljava/nio/ByteBuffer; 4io/netty/util/internal/logging/InternalLoggerFactory < getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; > ?
= @
B hasUnsafe D
$ E allocateDirect (I)Ljava/nio/ByteBuffer; G H
I getClass ()Ljava/lang/Class; K L
M 5 java/lang/Class P getDeclaredField -(Ljava/lang/String;)Ljava/lang/reflect/Field; R S
Q T objectFieldOffset (Ljava/lang/reflect/Field;)J V W
$ X clean Z getDeclaredMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; \ ]
Q ^ 'java/lang/UnsupportedOperationException ` sun.misc.Unsafe unavailable b (Ljava/lang/String;)V d
a e (java.nio.ByteBuffer.cleaner(): available g -io/netty/util/internal/logging/InternalLogger i debug k d j l *java.nio.ByteBuffer.cleaner(): unavailable n *(Ljava/lang/String;Ljava/lang/Throwable;)V k p j q cleanerField Ljava/lang/reflect/Field; t direct fieldOffset error Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 0
y / *? ? z { y 3 ? ?? ? ? { E | @ y ? )+? "? ?+? ? (M,? ? *,? ? 0W? M,? 4? # z * 5 6 $ 7 8 ) ) 9 : { &