class sun.awt.X11.UnsafeXDisposerRecord implements sun.java2d.DisposerRecord
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.UnsafeXDisposerRecord
super_class: java.lang.Object
{
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static sun.misc.Unsafe unsafe;
descriptor: Lsun/misc/Unsafe;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
final long[] unsafe_ptrs;
descriptor: [J
flags: (0x0010) ACC_FINAL
final long[] x_ptrs;
descriptor: [J
flags: (0x0010) ACC_FINAL
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
volatile boolean disposed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final java.lang.Throwable place;
descriptor: Ljava/lang/Throwable;
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.X11.UnsafeXDisposerRecord"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.UnsafeXDisposerRecord.log:Lsun/util/logging/PlatformLogger;
1: getstatic sun.awt.X11.XlibWrapper.unsafe:Lsun/misc/Unsafe;
putstatic sun.awt.X11.UnsafeXDisposerRecord.unsafe:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, long[], long[]);
descriptor: (Ljava/lang/String;[J[J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield sun.awt.X11.UnsafeXDisposerRecord.unsafe_ptrs:[J
2: aload 0
aload 3
putfield sun.awt.X11.UnsafeXDisposerRecord.x_ptrs:[J
3: aload 0
aload 1
putfield sun.awt.X11.UnsafeXDisposerRecord.name:Ljava/lang/String;
4: getstatic sun.awt.X11.XlibWrapper.isBuildInternal:Z
ifeq 7
5: aload 0
new java.lang.Throwable
dup
invokespecial java.lang.Throwable.<init>:()V
putfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
6: goto 8
7: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord java.lang.String long[] long[]
StackMap stack:
aload 0
aconst_null
putfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/UnsafeXDisposerRecord;
0 9 1 name Ljava/lang/String;
0 9 2 unsafe_ptrs [J
0 9 3 x_ptrs [J
MethodParameters:
Name Flags
name
unsafe_ptrs
x_ptrs
public void <init>(java.lang.String, long[]);
descriptor: (Ljava/lang/String;[J)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield sun.awt.X11.UnsafeXDisposerRecord.unsafe_ptrs:[J
2: aload 0
aconst_null
putfield sun.awt.X11.UnsafeXDisposerRecord.x_ptrs:[J
3: aload 0
aload 1
putfield sun.awt.X11.UnsafeXDisposerRecord.name:Ljava/lang/String;
4: getstatic sun.awt.X11.XlibWrapper.isBuildInternal:Z
ifeq 7
5: aload 0
new java.lang.Throwable
dup
invokespecial java.lang.Throwable.<init>:()V
putfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
6: goto 8
7: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord java.lang.String long[]
StackMap stack:
aload 0
aconst_null
putfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11/UnsafeXDisposerRecord;
0 9 1 name Ljava/lang/String;
0 9 2 unsafe_ptrs [J
MethodParameters:
Name Flags
name
unsafe_ptrs
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: invokestatic sun.awt.X11.XToolkit.awtLock:()V
1: aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.disposed:Z
ifne 28
2: getstatic sun.awt.X11.XlibWrapper.isBuildInternal:Z
ifeq 7
ldc "Java2D Disposer"
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
getstatic sun.awt.X11.UnsafeXDisposerRecord.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.WARNING:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 7
3: aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
ifnull 6
4: getstatic sun.awt.X11.UnsafeXDisposerRecord.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " object was not disposed before finalization!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.place:Ljava/lang/Throwable;
invokevirtual sun.util.logging.PlatformLogger.warning:(Ljava/lang/String;Ljava/lang/Throwable;)V
5: goto 7
6: StackMap locals:
StackMap stack:
getstatic sun.awt.X11.UnsafeXDisposerRecord.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " object was not disposed before finalization!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.util.logging.PlatformLogger.warning:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.unsafe_ptrs:[J
ifnull 14
8: aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.unsafe_ptrs:[J
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 13
StackMap locals: sun.awt.X11.UnsafeXDisposerRecord top top int int long[]
StackMap stack:
9: aload 5
iload 3
laload
lstore 1
start local 1 10: lload 1
lconst_0
lcmp
ifeq 12
11: getstatic sun.awt.X11.UnsafeXDisposerRecord.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
end local 1 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
iload 4
if_icmplt 9
14: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord
StackMap stack:
aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.x_ptrs:[J
ifnull 23
15: aload 0
getfield sun.awt.X11.UnsafeXDisposerRecord.x_ptrs:[J
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 22
StackMap locals: sun.awt.X11.UnsafeXDisposerRecord top top int int long[]
StackMap stack:
16: aload 5
iload 3
laload
lstore 1
start local 1 17: lload 1
lconst_0
lcmp
ifeq 21
18: lload 1
invokestatic sun.awt.X11.Native.getLong:(J)J
lconst_0
lcmp
ifeq 20
19: lload 1
invokestatic sun.awt.X11.Native.getLong:(J)J
invokestatic sun.awt.X11.XlibWrapper.XFree:(J)V
20: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord long int int long[]
StackMap stack:
getstatic sun.awt.X11.UnsafeXDisposerRecord.unsafe:Lsun/misc/Unsafe;
lload 1
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
end local 1 21: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord top top int int long[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 4
if_icmplt 16
23: StackMap locals: sun.awt.X11.UnsafeXDisposerRecord
StackMap stack:
aload 0
iconst_1
putfield sun.awt.X11.UnsafeXDisposerRecord.disposed:Z
24: goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 6
26: invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
27: aload 6
athrow
28: StackMap locals:
StackMap stack:
invokestatic sun.awt.X11.XToolkit.awtUnlock:()V
29: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/awt/X11/UnsafeXDisposerRecord;
10 12 1 l J
17 21 1 l J
Exception table:
from to target type
1 25 25 any
}
SourceFile: "UnsafeXDisposerRecord.java"
InnerClasses:
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger