final class com.sun.webkit.network.CookieStore
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.webkit.network.CookieStore
super_class: java.lang.Object
{
private static final com.sun.javafx.logging.PlatformLogger logger;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int MAX_BUCKET_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 50
private static final int TOTAL_COUNT_LOWER_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3000
private static final int TOTAL_COUNT_UPPER_THRESHOLD;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4000
private final java.util.Map<java.lang.String, java.util.Map<com.sun.webkit.network.Cookie, com.sun.webkit.network.Cookie>> buckets;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;>;
private int totalCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/webkit/network/CookieStore;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
1: putstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
3: aload 0
iconst_0
putfield com.sun.webkit.network.CookieStore.totalCount:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/network/CookieStore;
com.sun.webkit.network.Cookie get(com.sun.webkit.network.Cookie);
descriptor: (Lcom/sun/webkit/network/Cookie;)Lcom/sun/webkit/network/Cookie;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
aload 1
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.Map
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 3
start local 3 4: aload 3
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: com.sun.webkit.network.Cookie
StackMap stack:
aload 3
invokevirtual com.sun.webkit.network.Cookie.hasExpired:()Z
ifeq 11
7: aload 2
aload 3
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
9: aload 0
ldc "Expired cookie removed by get"
aload 3
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
10: aconst_null
areturn
11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/webkit/network/CookieStore;
0 12 1 cookie Lcom/sun/webkit/network/Cookie;
1 12 2 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
4 12 3 storedCookie Lcom/sun/webkit/network/Cookie;
MethodParameters:
Name Flags
cookie
java.util.List<com.sun.webkit.network.Cookie> get(java.lang.String, java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/util/List;
flags: (0x0000)
Code:
stack=7, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINEST:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 5
1: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "hostname: [{0}], path: [{1}], secureProtocol: [{2}], httpApi: [{3}]"
2: iconst_4
anewarray java.lang.Object
dup
iconst_0
3: aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
dup
iconst_3
iload 4
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
4: invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 6: aload 1
astore 6
start local 6 7: goto 14
8: StackMap locals: java.util.ArrayList java.lang.String
StackMap stack:
aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 7
start local 7 9: aload 7
ifnull 11
10: aload 0
aload 5
aload 7
aload 1
aload 2
iload 3
iload 4
invokevirtual com.sun.webkit.network.CookieStore.find:(Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZZ)V
11: StackMap locals: java.util.Map
StackMap stack:
aload 6
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 12: iload 8
iconst_m1
if_icmpeq 15
13: aload 6
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
end local 8 end local 7 14: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
ifgt 8
15: StackMap locals:
StackMap stack:
aload 5
new com.sun.webkit.network.CookieStore$GetComparator
dup
invokespecial com.sun.webkit.network.CookieStore$GetComparator.<init>:()V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
16: invokestatic java.lang.System.currentTimeMillis:()J
lstore 7
start local 7 17: aload 5
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 10
goto 20
StackMap locals: com.sun.webkit.network.CookieStore java.lang.String java.lang.String int int java.util.ArrayList java.lang.String long top java.util.Iterator
StackMap stack:
18: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 9
start local 9 19: aload 9
lload 7
invokevirtual com.sun.webkit.network.Cookie.setLastAccessTime:(J)V
end local 9 20: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "result: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
22: aload 5
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 23 0 this Lcom/sun/webkit/network/CookieStore;
0 23 1 hostname Ljava/lang/String;
0 23 2 path Ljava/lang/String;
0 23 3 secureProtocol Z
0 23 4 httpApi Z
6 23 5 result Ljava/util/ArrayList<Lcom/sun/webkit/network/Cookie;>;
7 23 6 domain Ljava/lang/String;
9 14 7 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
12 14 8 nextPoint I
17 23 7 currentTime J
19 20 9 cookie Lcom/sun/webkit/network/Cookie;
Signature: (Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/util/List<Lcom/sun/webkit/network/Cookie;>;
MethodParameters:
Name Flags
hostname
path
secureProtocol
httpApi
private void find(java.util.List<com.sun.webkit.network.Cookie>, java.util.Map<com.sun.webkit.network.Cookie, com.sun.webkit.network.Cookie>, java.lang.String, java.lang.String, boolean, );
descriptor: (Ljava/util/List;Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;ZZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, 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 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
start local 7 1: goto 20
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 8
start local 8 3: aload 8
invokevirtual com.sun.webkit.network.Cookie.hasExpired:()Z
ifeq 8
4: aload 7
invokeinterface java.util.Iterator.remove:()V
5: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
6: aload 0
ldc "Expired cookie removed by find"
aload 8
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
7: goto 20
8: StackMap locals: com.sun.webkit.network.Cookie
StackMap stack:
aload 8
invokevirtual com.sun.webkit.network.Cookie.getHostOnly:()Z
ifeq 11
9: aload 3
aload 8
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 13
10: goto 20
11: StackMap locals:
StackMap stack:
aload 3
aload 8
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
invokestatic com.sun.webkit.network.Cookie.domainMatches:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 13
12: goto 20
13: StackMap locals:
StackMap stack:
aload 4
aload 8
invokevirtual com.sun.webkit.network.Cookie.getPath:()Ljava/lang/String;
invokestatic com.sun.webkit.network.Cookie.pathMatches:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 15
14: goto 20
15: StackMap locals:
StackMap stack:
aload 8
invokevirtual com.sun.webkit.network.Cookie.getSecureOnly:()Z
ifeq 17
iload 5
ifne 17
16: goto 20
17: StackMap locals:
StackMap stack:
aload 8
invokevirtual com.sun.webkit.network.Cookie.getHttpOnly:()Z
ifeq 19
iload 6
ifne 19
18: goto 20
19: StackMap locals:
StackMap stack:
aload 1
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 20: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
21: 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 22 0 this Lcom/sun/webkit/network/CookieStore;
0 22 1 list Ljava/util/List<Lcom/sun/webkit/network/Cookie;>;
0 22 2 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
0 22 3 hostname Ljava/lang/String;
0 22 4 path Ljava/lang/String;
0 22 5 secureProtocol Z
0 22 6 httpApi Z
1 22 7 it Ljava/util/Iterator<Lcom/sun/webkit/network/Cookie;>;
3 20 8 cookie Lcom/sun/webkit/network/Cookie;
Signature: (Ljava/util/List<Lcom/sun/webkit/network/Cookie;>;Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;Ljava/lang/String;Ljava/lang/String;ZZ)V
MethodParameters:
Name Flags
list
bucket
hostname
path
secureProtocol
httpApi
void put(com.sun.webkit.network.Cookie);
descriptor: (Lcom/sun/webkit/network/Cookie;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
aload 1
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 2
start local 2 1: aload 2
ifnonnull 4
2: new java.util.LinkedHashMap
dup
bipush 20
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 2
3: aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
aload 1
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.util.Map
StackMap stack:
aload 1
invokevirtual com.sun.webkit.network.Cookie.hasExpired:()Z
ifeq 10
5: aload 0
ldc "Cookie expired"
aload 1
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
6: aload 2
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 19
7: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
8: aload 0
ldc "Expired cookie removed by put"
aload 1
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
9: goto 19
10: StackMap locals:
StackMap stack:
aload 2
aload 1
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 18
11: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
iadd
putfield com.sun.webkit.network.CookieStore.totalCount:I
12: aload 0
ldc "Cookie added"
aload 1
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
13: aload 2
invokeinterface java.util.Map.size:()I
bipush 50
if_icmple 15
14: aload 0
aload 2
invokevirtual com.sun.webkit.network.CookieStore.purge:(Ljava/util/Map;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.network.CookieStore.totalCount:I
sipush 4000
if_icmple 19
16: aload 0
invokevirtual com.sun.webkit.network.CookieStore.purge:()V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
ldc "Cookie updated"
aload 1
aload 2
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
19: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/webkit/network/CookieStore;
0 20 1 cookie Lcom/sun/webkit/network/Cookie;
1 20 2 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
MethodParameters:
Name Flags
cookie
private void purge(java.util.Map<com.sun.webkit.network.Cookie, com.sun.webkit.network.Cookie>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Purging bucket: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aconst_null
astore 2
start local 2 2: aload 1
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 13
4: StackMap locals: com.sun.webkit.network.Cookie java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 4
start local 4 5: aload 4
invokevirtual com.sun.webkit.network.Cookie.hasExpired:()Z
ifeq 10
6: aload 3
invokeinterface java.util.Iterator.remove:()V
7: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
8: aload 0
ldc "Expired cookie removed"
aload 4
aload 1
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
9: goto 13
10: StackMap locals: com.sun.webkit.network.Cookie
StackMap stack:
aload 2
ifnull 12
aload 4
invokevirtual com.sun.webkit.network.Cookie.getLastAccessTime:()J
11: aload 2
invokevirtual com.sun.webkit.network.Cookie.getLastAccessTime:()J
lcmp
ifge 13
12: StackMap locals:
StackMap stack:
aload 4
astore 2
end local 4 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: aload 1
invokeinterface java.util.Map.size:()I
bipush 50
if_icmple 18
15: aload 1
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
17: aload 0
ldc "Excess cookie removed"
aload 2
aload 1
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/webkit/network/CookieStore;
0 19 1 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
2 19 2 earliestCookie Lcom/sun/webkit/network/Cookie;
3 19 3 it Ljava/util/Iterator<Lcom/sun/webkit/network/Cookie;>;
5 13 4 cookie Lcom/sun/webkit/network/Cookie;
Signature: (Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;)V
MethodParameters:
Name Flags
bucket
private void purge();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "Purging store"
invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;)V
1: new java.util.PriorityQueue
dup
aload 0
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_2
idiv
2: new com.sun.webkit.network.CookieStore$RemovalComparator
dup
invokespecial com.sun.webkit.network.CookieStore$RemovalComparator.<init>:()V
3: invokespecial java.util.PriorityQueue.<init>:(ILjava/util/Comparator;)V
astore 1
start local 1 4: aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 17
StackMap locals: com.sun.webkit.network.CookieStore java.util.Queue top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 6: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Map
astore 4
start local 4 7: aload 4
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
start local 5 8: goto 16
9: StackMap locals: com.sun.webkit.network.CookieStore java.util.Queue java.util.Map$Entry java.util.Iterator java.util.Map java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 6
start local 6 10: aload 6
invokevirtual com.sun.webkit.network.Cookie.hasExpired:()Z
ifeq 15
11: aload 5
invokeinterface java.util.Iterator.remove:()V
12: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
13: aload 0
ldc "Expired cookie removed"
aload 6
aload 4
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
14: goto 16
15: StackMap locals: com.sun.webkit.network.Cookie
StackMap stack:
aload 1
aload 6
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
end local 6 16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 5 end local 4 end local 2 17: StackMap locals: com.sun.webkit.network.CookieStore java.util.Queue top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
18: goto 25
19: StackMap locals: com.sun.webkit.network.CookieStore java.util.Queue
StackMap stack:
aload 1
invokeinterface java.util.Queue.remove:()Ljava/lang/Object;
checkcast com.sun.webkit.network.Cookie
astore 2
start local 2 20: aload 0
getfield com.sun.webkit.network.CookieStore.buckets:Ljava/util/Map;
aload 2
invokevirtual com.sun.webkit.network.Cookie.getDomain:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 21: aload 3
ifnull 25
22: aload 3
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
23: aload 0
dup
getfield com.sun.webkit.network.CookieStore.totalCount:I
iconst_1
isub
putfield com.sun.webkit.network.CookieStore.totalCount:I
24: aload 0
ldc "Excess cookie removed"
aload 2
aload 3
invokevirtual com.sun.webkit.network.CookieStore.log:(Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
end local 3 end local 2 25: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.webkit.network.CookieStore.totalCount:I
sipush 3000
if_icmpgt 19
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/webkit/network/CookieStore;
4 27 1 removalQueue Ljava/util/Queue<Lcom/sun/webkit/network/Cookie;>;
6 17 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;>;
7 17 4 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
8 17 5 it Ljava/util/Iterator<Lcom/sun/webkit/network/Cookie;>;
10 16 6 cookie Lcom/sun/webkit/network/Cookie;
20 25 2 cookie Lcom/sun/webkit/network/Cookie;
21 25 3 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
private void log(java.lang.String, com.sun.webkit.network.Cookie, java.util.Map<com.sun.webkit.network.Cookie, com.sun.webkit.network.Cookie>);
descriptor: (Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINEST:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 4
1: getstatic com.sun.webkit.network.CookieStore.logger:Lcom/sun/javafx/logging/PlatformLogger;
ldc "{0}: {1}, bucket size: {2}, total count: {3}"
2: iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
invokeinterface java.util.Map.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield com.sun.webkit.network.CookieStore.totalCount:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokevirtual com.sun.javafx.logging.PlatformLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/webkit/network/CookieStore;
0 5 1 message Ljava/lang/String;
0 5 2 cookie Lcom/sun/webkit/network/Cookie;
0 5 3 bucket Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;
Signature: (Ljava/lang/String;Lcom/sun/webkit/network/Cookie;Ljava/util/Map<Lcom/sun/webkit/network/Cookie;Lcom/sun/webkit/network/Cookie;>;)V
MethodParameters:
Name Flags
message
cookie
bucket
}
SourceFile: "CookieStore.java"
NestMembers:
com.sun.webkit.network.CookieStore$GetComparator com.sun.webkit.network.CookieStore$RemovalComparator
InnerClasses:
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
private final GetComparator = com.sun.webkit.network.CookieStore$GetComparator of com.sun.webkit.network.CookieStore
private final RemovalComparator = com.sun.webkit.network.CookieStore$RemovalComparator of com.sun.webkit.network.CookieStore
public abstract Entry = java.util.Map$Entry of java.util.Map