class com.mchange.v2.c3p0.test.C3P0BenchmarkApp$PreparedStatementAcquireTest extends com.mchange.v2.c3p0.test.C3P0BenchmarkApp$Test
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mchange.v2.c3p0.test.C3P0BenchmarkApp$PreparedStatementAcquireTest
super_class: com.mchange.v2.c3p0.test.C3P0BenchmarkApp$Test
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Acquire and Cleanup a PreparedStatement (same statement, many times)"
invokespecial com.mchange.v2.c3p0.test.C3P0BenchmarkApp$Test.<init>:(Ljava/lang/String;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mchange/v2/c3p0/test/C3P0BenchmarkApp$PreparedStatementAcquireTest;
protected long test(javax.sql.DataSource, int);
descriptor: (Ljavax/sql/DataSource;I)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 7
start local 7 1: aconst_null
astore 8
start local 8 2: aload 1
invokeinterface javax.sql.DataSource.getConnection:()Ljava/sql/Connection;
astore 7
3: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
start local 3 4: iconst_0
istore 9
start local 9 5: goto 10
6: StackMap locals: com.mchange.v2.c3p0.test.C3P0BenchmarkApp$PreparedStatementAcquireTest javax.sql.DataSource int long top top java.sql.Connection java.sql.PreparedStatement int
StackMap stack:
aload 7
ldc "SELECT * FROM emptyyukyuk where a = ?"
invokeinterface java.sql.Connection.prepareStatement:(Ljava/lang/String;)Ljava/sql/PreparedStatement;
astore 8
goto 8
7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
aload 8
invokestatic com.mchange.v1.db.sql.StatementUtils.attemptClose:(Ljava/sql/Statement;)Z
pop
aload 10
athrow
StackMap locals:
StackMap stack:
8: aload 8
invokestatic com.mchange.v1.db.sql.StatementUtils.attemptClose:(Ljava/sql/Statement;)Z
pop
9: iinc 9 1
StackMap locals:
StackMap stack:
10: iload 9
iload 2
if_icmplt 6
end local 9 11: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 12: lload 5
lload 3
lsub
lstore 12
13: aload 7
invokestatic com.mchange.v1.db.sql.ConnectionUtils.attemptClose:(Ljava/sql/Connection;)Z
pop
14: lload 12
lreturn
end local 5 end local 3 15: StackMap locals: com.mchange.v2.c3p0.test.C3P0BenchmarkApp$PreparedStatementAcquireTest javax.sql.DataSource int top top top top java.sql.Connection java.sql.PreparedStatement
StackMap stack: java.lang.Throwable
astore 11
aload 7
invokestatic com.mchange.v1.db.sql.ConnectionUtils.attemptClose:(Ljava/sql/Connection;)Z
pop
aload 11
athrow
end local 8 end local 7 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/mchange/v2/c3p0/test/C3P0BenchmarkApp$PreparedStatementAcquireTest;
0 16 1 ds Ljavax/sql/DataSource;
0 16 2 n I
4 15 3 start J
12 15 5 end J
1 16 7 con Ljava/sql/Connection;
2 16 8 pstmt Ljava/sql/PreparedStatement;
5 11 9 i I
Exception table:
from to target type
6 7 7 any
2 13 15 any
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
ds
n
}
SourceFile: "C3P0BenchmarkApp.java"
NestHost: com.mchange.v2.c3p0.test.C3P0BenchmarkApp
InnerClasses:
PreparedStatementAcquireTest = com.mchange.v2.c3p0.test.C3P0BenchmarkApp$PreparedStatementAcquireTest of com.mchange.v2.c3p0.test.C3P0BenchmarkApp
abstract Test = com.mchange.v2.c3p0.test.C3P0BenchmarkApp$Test of com.mchange.v2.c3p0.test.C3P0BenchmarkApp