final class com.oracle.security.ucrypto.CipherContextRef extends java.lang.ref.PhantomReference<com.oracle.security.ucrypto.NativeCipher> implements java.lang.Comparable<com.oracle.security.ucrypto.CipherContextRef>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.security.ucrypto.CipherContextRef
super_class: java.lang.ref.PhantomReference
{
private static java.lang.ref.ReferenceQueue<com.oracle.security.ucrypto.NativeCipher> refQueue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ref/ReferenceQueue<Lcom/oracle/security/ucrypto/NativeCipher;>;
private static java.util.Set<com.oracle.security.ucrypto.CipherContextRef> refList;
descriptor: Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Set<Lcom/oracle/security/ucrypto/CipherContextRef;>;
final long id;
descriptor: J
flags: (0x0010) ACC_FINAL
final boolean encrypt;
descriptor: Z
flags: (0x0010) ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
1: putstatic com.oracle.security.ucrypto.CipherContextRef.refQueue:Ljava/lang/ref/ReferenceQueue;
2: new java.util.concurrent.ConcurrentSkipListSet
dup
invokespecial java.util.concurrent.ConcurrentSkipListSet.<init>:()V
3: putstatic com.oracle.security.ucrypto.CipherContextRef.refList:Ljava/util/Set;
4: return
LocalVariableTable:
Start End Slot Name Signature
private static void drainRefQueueBounded();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: StackMap locals:
StackMap stack:
getstatic com.oracle.security.ucrypto.CipherContextRef.refQueue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
checkcast com.oracle.security.ucrypto.CipherContextRef
astore 0
start local 0 1: aload 0
ifnonnull 2
goto 4
2: StackMap locals: com.oracle.security.ucrypto.CipherContextRef
StackMap stack:
aload 0
iconst_1
invokevirtual com.oracle.security.ucrypto.CipherContextRef.dispose:(Z)V
end local 0 3: goto 0
4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 3 0 next Lcom/oracle/security/ucrypto/CipherContextRef;
void <init>(com.oracle.security.ucrypto.NativeCipher, long, boolean);
descriptor: (Lcom/oracle/security/ucrypto/NativeCipher;JZ)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
aload 1
getstatic com.oracle.security.ucrypto.CipherContextRef.refQueue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.PhantomReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
lload 2
putfield com.oracle.security.ucrypto.CipherContextRef.id:J
2: aload 0
iload 4
putfield com.oracle.security.ucrypto.CipherContextRef.encrypt:Z
3: getstatic com.oracle.security.ucrypto.CipherContextRef.refList:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: new java.lang.StringBuilder
dup
ldc "Resource: trace CipherCtxt "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.security.ucrypto.UcryptoProvider.debug:(Ljava/lang/String;)V
5: invokestatic com.oracle.security.ucrypto.CipherContextRef.drainRefQueueBounded:()V
6: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/security/ucrypto/CipherContextRef;
0 7 1 nc Lcom/oracle/security/ucrypto/NativeCipher;
0 7 2 id J
0 7 4 encrypt Z
MethodParameters:
Name Flags
nc
id
encrypt
public int compareTo(com.oracle.security.ucrypto.CipherContextRef);
descriptor: (Lcom/oracle/security/ucrypto/CipherContextRef;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
aload 1
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
lcmp
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
aload 1
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
lcmp
ifge 3
iconst_m1
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/security/ucrypto/CipherContextRef;
0 5 1 other Lcom/oracle/security/ucrypto/CipherContextRef;
MethodParameters:
Name Flags
other
void dispose(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.oracle.security.ucrypto.CipherContextRef.refList:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: iload 1
ifeq 10
2: new java.lang.StringBuilder
dup
ldc "Resource: cancel CipherCtxt "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.security.ucrypto.UcryptoProvider.debug:(Ljava/lang/String;)V
3: aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.encrypt:Z
aconst_null
iconst_0
invokestatic com.oracle.security.ucrypto.NativeCipher.nativeFinal:(JZ[BI)I
istore 2
start local 2 4: iload 2
ifge 15
5: new java.lang.StringBuilder
dup
ldc "Resource: error cancelling CipherCtxt "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
new com.oracle.security.ucrypto.UcryptoException
dup
iload 2
ineg
invokespecial com.oracle.security.ucrypto.UcryptoException.<init>:(I)V
invokevirtual com.oracle.security.ucrypto.UcryptoException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokestatic com.oracle.security.ucrypto.UcryptoProvider.debug:(Ljava/lang/String;)V
end local 2 9: goto 15
10: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Resource: untrace CipherCtxt "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.oracle.security.ucrypto.CipherContextRef.id:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.security.ucrypto.UcryptoProvider.debug:(Ljava/lang/String;)V
11: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 3
13: aload 0
invokevirtual com.oracle.security.ucrypto.CipherContextRef.clear:()V
14: aload 3
athrow
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.security.ucrypto.CipherContextRef.clear:()V
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/security/ucrypto/CipherContextRef;
0 17 1 doCancel Z
4 9 2 k I
Exception table:
from to target type
1 12 12 any
MethodParameters:
Name Flags
doCancel
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.security.ucrypto.CipherContextRef
invokevirtual com.oracle.security.ucrypto.CipherContextRef.compareTo:(Lcom/oracle/security/ucrypto/CipherContextRef;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/ref/PhantomReference<Lcom/oracle/security/ucrypto/NativeCipher;>;Ljava/lang/Comparable<Lcom/oracle/security/ucrypto/CipherContextRef;>;
SourceFile: "CipherContextRef.java"