public class sun.swing.ImageCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.swing.ImageCache
super_class: java.lang.Object
{
private int maxCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.LinkedList<java.lang.ref.SoftReference<sun.swing.ImageCache$Entry>> entries;
descriptor: Ljava/util/LinkedList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/LinkedList<Ljava/lang/ref/SoftReference<Lsun/swing/ImageCache$Entry;>;>;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.swing.ImageCache.maxCount:I
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/ImageCache;
0 4 1 maxCount I
MethodParameters:
Name Flags
maxCount
void setMaxCount(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.swing.ImageCache.maxCount:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/ImageCache;
0 2 1 maxCount I
MethodParameters:
Name Flags
maxCount
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/ImageCache;
private sun.swing.ImageCache$Entry getEntry(java.lang.Object, java.awt.GraphicsConfiguration, int, int, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Lsun/swing/ImageCache$Entry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.listIterator:()Ljava/util/ListIterator;
astore 7
start local 7 1: goto 11
2: StackMap locals: sun.swing.ImageCache java.lang.Object java.awt.GraphicsConfiguration int int java.lang.Object[] top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 8
start local 8 3: aload 8
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast sun.swing.ImageCache$Entry
astore 6
start local 6 4: aload 6
ifnonnull 7
5: aload 7
invokeinterface java.util.Iterator.remove:()V
6: goto 11
7: StackMap locals: sun.swing.ImageCache java.lang.Object java.awt.GraphicsConfiguration int int java.lang.Object[] sun.swing.ImageCache$Entry java.util.Iterator java.lang.ref.SoftReference
StackMap stack:
aload 6
aload 2
iload 3
iload 4
aload 5
invokevirtual sun.swing.ImageCache$Entry.equals:(Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Z
ifeq 11
8: aload 7
invokeinterface java.util.Iterator.remove:()V
9: aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
aload 8
invokevirtual java.util.LinkedList.addFirst:(Ljava/lang/Object;)V
10: aload 6
areturn
end local 8 end local 6 11: StackMap locals: sun.swing.ImageCache java.lang.Object java.awt.GraphicsConfiguration int int java.lang.Object[] top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: new sun.swing.ImageCache$Entry
dup
aload 2
iload 3
iload 4
aload 5
invokespecial sun.swing.ImageCache$Entry.<init>:(Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)V
astore 6
start local 6 13: aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
aload 0
getfield sun.swing.ImageCache.maxCount:I
if_icmplt 15
14: aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.removeLast:()Ljava/lang/Object;
pop
15: StackMap locals: sun.swing.ImageCache java.lang.Object java.awt.GraphicsConfiguration int int java.lang.Object[] sun.swing.ImageCache$Entry java.util.Iterator
StackMap stack:
aload 0
getfield sun.swing.ImageCache.entries:Ljava/util/LinkedList;
new java.lang.ref.SoftReference
dup
aload 6
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokevirtual java.util.LinkedList.addFirst:(Ljava/lang/Object;)V
16: aload 6
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/swing/ImageCache;
0 17 1 key Ljava/lang/Object;
0 17 2 config Ljava/awt/GraphicsConfiguration;
0 17 3 w I
0 17 4 h I
0 17 5 args [Ljava/lang/Object;
4 11 6 entry Lsun/swing/ImageCache$Entry;
13 17 6 entry Lsun/swing/ImageCache$Entry;
1 17 7 iter Ljava/util/Iterator<Ljava/lang/ref/SoftReference<Lsun/swing/ImageCache$Entry;>;>;
3 11 8 ref Ljava/lang/ref/SoftReference<Lsun/swing/ImageCache$Entry;>;
MethodParameters:
Name Flags
key
config
w
h
args
public java.awt.Image getImage(java.lang.Object, java.awt.GraphicsConfiguration, int, int, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iload 3
iload 4
aload 5
invokevirtual sun.swing.ImageCache.getEntry:(Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Lsun/swing/ImageCache$Entry;
astore 6
start local 6 1: aload 6
invokevirtual sun.swing.ImageCache$Entry.getImage:()Ljava/awt/Image;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/swing/ImageCache;
0 2 1 key Ljava/lang/Object;
0 2 2 config Ljava/awt/GraphicsConfiguration;
0 2 3 w I
0 2 4 h I
0 2 5 args [Ljava/lang/Object;
1 2 6 entry Lsun/swing/ImageCache$Entry;
MethodParameters:
Name Flags
key
config
w
h
args
public void setImage(java.lang.Object, java.awt.GraphicsConfiguration, int, int, java.lang.Object[], java.awt.Image);
descriptor: (Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
iload 3
iload 4
aload 5
invokevirtual sun.swing.ImageCache.getEntry:(Ljava/lang/Object;Ljava/awt/GraphicsConfiguration;II[Ljava/lang/Object;)Lsun/swing/ImageCache$Entry;
astore 7
start local 7 1: aload 7
aload 6
invokevirtual sun.swing.ImageCache$Entry.setImage:(Ljava/awt/Image;)V
2: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/ImageCache;
0 3 1 key Ljava/lang/Object;
0 3 2 config Ljava/awt/GraphicsConfiguration;
0 3 3 w I
0 3 4 h I
0 3 5 args [Ljava/lang/Object;
0 3 6 image Ljava/awt/Image;
1 3 7 entry Lsun/swing/ImageCache$Entry;
MethodParameters:
Name Flags
key
config
w
h
args
image
}
SourceFile: "ImageCache.java"
NestMembers:
sun.swing.ImageCache$Entry
InnerClasses:
private Entry = sun.swing.ImageCache$Entry of sun.swing.ImageCache