public class com.sun.tools.sjavac.CompileJavaPackages implements com.sun.tools.sjavac.Transformer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.sjavac.CompileJavaPackages
super_class: java.lang.Object
{
static final int limitOnConcurrency;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 3
com.sun.tools.sjavac.options.Options args;
descriptor: Lcom/sun/tools/sjavac/options/Options;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
0 1 1 e Ljava/lang/String;
MethodParameters:
Name Flags
e
public void (com.sun.tools.sjavac.options.Options);
descriptor: (Lcom/sun/tools/sjavac/options/Options;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.sjavac.CompileJavaPackages.args:Lcom/sun/tools/sjavac/options/Options;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
0 2 1 a Lcom/sun/tools/sjavac/options/Options;
MethodParameters:
Name Flags
a
public boolean transform(com.sun.tools.sjavac.comp.CompilationService, java.util.Map<java.lang.String, java.util.Set<java.net.URI>>, java.util.Set<java.net.URI>, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>, java.net.URI, java.util.Map<java.lang.String, java.util.Set<java.net.URI>>, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>>, java.util.Map<java.lang.String, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>>, java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubApi>, java.util.Map<java.lang.String, com.sun.tools.sjavac.pubapi.PubApi>, int, boolean, );
descriptor: (Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/util/Map;Ljava/util/Set;Ljava/util/Map;Ljava/net/URI;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;IZI)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=40, args_size=14
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 start local 13 0: ldc "Performing CompileJavaPackages transform..."
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
1: iconst_1
istore 14
start local 14 2: iconst_1
istore 15
start local 15 3: new java.util.Random
dup
invokespecial java.util.Random.<init>:()V
invokevirtual java.util.Random.nextInt:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
astore 16
start local 16 4: aload 1
invokevirtual com.sun.tools.sjavac.comp.CompilationService.getSysInfo:()Lcom/sun/tools/sjavac/server/SysInfo;
astore 17
start local 17 5: aload 17
getfield com.sun.tools.sjavac.server.SysInfo.maxMemory:J
ldc 1048576
ldiv
l2i
istore 18
start local 18 6: new java.lang.StringBuilder
dup
ldc "Server reports "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 18
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "MiB of memory and "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " cores"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
7: iload 13
ifgt 11
8: aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
istore 13
9: new java.lang.StringBuilder
dup
ldc "Number of jobs not explicitly set, defaulting to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
10: goto 16
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int
StackMap stack:
11: aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
iload 13
if_icmpge 15
12: new java.lang.StringBuilder
dup
ldc "Limiting jobs from explicitly set "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " to cores available on server: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
13: aload 17
getfield com.sun.tools.sjavac.server.SysInfo.numCores:I
istore 13
14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Number of jobs explicitly set to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 13
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
iload 13
istore 19
start local 19 17: iload 13
iconst_3
if_icmple 18
iconst_3
istore 19
18: StackMap locals: int
StackMap stack:
iconst_0
istore 20
start local 20 19: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 22
goto 23
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int top java.util.Iterator
StackMap stack:
20: aload 22
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 21
start local 21 21: aload 2
aload 21
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 23
start local 23 22: iload 20
aload 23
invokeinterface java.util.Set.size:()I
iadd
istore 20
end local 23 end local 21 23: StackMap locals:
StackMap stack:
aload 22
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
24: iload 20
iload 19
idiv
istore 21
start local 21 25: sipush 175
istore 22
start local 22 26: ldc "os.arch"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 23
start local 23 27: ldc "sun.arch.data.model"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 24
start local 24 28: ldc "32"
aload 24
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
29: bipush 119
istore 22
30: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String
StackMap stack:
iload 22
iload 20
imul
sipush 1024
idiv
istore 25
start local 25 31: new java.lang.StringBuilder
dup
ldc "For os.arch "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 23
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " the empirically determined heap required per file is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 22
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "KiB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
32: new java.lang.StringBuilder
dup
ldc "Server has "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 18
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "MiB of heap."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
33: new java.lang.StringBuilder
dup
ldc "Heuristics say that we need "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 25
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "MiB of heap for all source files."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
34: iload 18
iload 25
if_icmpge 46
35: iconst_0
istore 15
36: iload 20
sipush 500
if_icmpge 41
37: iconst_1
istore 19
38: iload 20
istore 21
39: ldc "Compiling as a single source code chunk to stay within heap size limitations!"
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
40: goto 54
StackMap locals: int
StackMap stack:
41: iload 21
sipush 500
if_icmple 54
42: iload 20
sipush 500
idiv
istore 19
43: iload 20
iload 19
idiv
istore 21
44: new java.lang.StringBuilder
dup
ldc "Compiling source as "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 19
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " code chunks serially to stay within heap size limitations!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
45: goto 54
46: StackMap locals:
StackMap stack:
iload 19
iconst_1
if_icmple 54
47: iload 25
i2f
iload 19
i2f
ldc 0.7
fmul
fdiv
fstore 26
start local 26 48: fload 26
iload 19
i2f
fmul
f2i
istore 27
start local 27 49: new java.lang.StringBuilder
dup
ldc "Heuristics say that for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 19
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " concurrent compiles we need "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 27
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "MiB"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
50: iload 27
iload 18
if_icmple 54
51: iconst_1
istore 19
52: iload 20
istore 21
53: ldc "Limiting compile to a single thread to stay within heap size limitations!"
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
end local 27 end local 26 54: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Compiling sources in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 19
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " chunk(s)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
55: aload 0
aload 2
aload 4
56: iload 19
iload 21
57: invokevirtual com.sun.tools.sjavac.CompileJavaPackages.createCompileChunks:(Ljava/util/Map;Ljava/util/Map;II)[Lcom/sun/tools/sjavac/CompileChunk;
astore 26
start local 26 58: invokestatic com.sun.tools.sjavac.Log.isDebugging:()Z
ifeq 70
59: iconst_1
istore 27
start local 27 60: aload 26
dup
astore 31
arraylength
istore 30
iconst_0
istore 29
goto 69
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] int top int int com.sun.tools.sjavac.CompileChunk[]
StackMap stack:
61: aload 31
iload 29
aaload
astore 28
start local 28 62: new java.lang.StringBuilder
dup
ldc "Chunk "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 27
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ---------------"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
63: iinc 27 1
64: aload 28
getfield com.sun.tools.sjavac.CompileChunk.srcs:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 33
goto 67
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] int com.sun.tools.sjavac.CompileChunk int int com.sun.tools.sjavac.CompileChunk[] top java.util.Iterator
StackMap stack:
65: aload 33
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URI
astore 32
start local 32 66: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 32
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
end local 32 67: StackMap locals:
StackMap stack:
aload 33
invokeinterface java.util.Iterator.hasNext:()Z
ifne 65
end local 28 68: iinc 29 1
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] int top int int com.sun.tools.sjavac.CompileChunk[]
StackMap stack:
69: iload 29
iload 30
if_icmplt 61
end local 27 70: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[]
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 27
start local 27 71: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 29
start local 29 72: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 30
start local 30 73: iconst_0
istore 31
start local 31 74: goto 82
75: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object int
StackMap stack:
aload 26
iload 31
aaload
astore 32
start local 32 76: aload 32
getfield com.sun.tools.sjavac.CompileChunk.srcs:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 78
77: goto 81
78: StackMap locals: com.sun.tools.sjavac.CompileChunk
StackMap stack:
new java.lang.StringBuilder
dup
aload 16
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 31
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 33
start local 33 79: invokestatic com.sun.tools.sjavac.Log.get:()Lcom/sun/tools/sjavac/Log;
astore 34
start local 34 80: aload 29
aload 0
aload 34
aload 1
aload 33
aload 32
aload 3
aload 30
invokedynamic call(Lcom/sun/tools/sjavac/CompileJavaPackages;Lcom/sun/tools/sjavac/Log;Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/lang/String;Lcom/sun/tools/sjavac/CompileChunk;Ljava/util/Set;Ljava/lang/Object;)Ljava/util/concurrent/Callable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/tools/sjavac/CompileJavaPackages.lambda$0(Lcom/sun/tools/sjavac/Log;Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/lang/String;Lcom/sun/tools/sjavac/CompileChunk;Ljava/util/Set;Ljava/lang/Object;)Lcom/sun/tools/sjavac/server/CompilationSubResult; (7)
()Lcom/sun/tools/sjavac/server/CompilationSubResult;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 34 end local 33 end local 32 81: StackMap locals:
StackMap stack:
iinc 31 1
StackMap locals:
StackMap stack:
82: iload 31
iload 19
if_icmplt 75
end local 31 83: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 31
start local 31 84: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 32
start local 32 85: iload 15
ifeq 86
aload 29
invokeinterface java.util.List.size:()I
goto 87
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List
StackMap stack:
86: iconst_1
StackMap locals:
StackMap stack: int
87: invokestatic java.util.concurrent.Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;
astore 33
start local 33 88: aload 29
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 35
goto 91
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List java.util.concurrent.ExecutorService top java.util.Iterator
StackMap stack:
89: aload 35
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Callable
astore 34
start local 34 90: aload 32
aload 33
aload 34
invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 34 91: StackMap locals:
StackMap stack:
aload 35
invokeinterface java.util.Iterator.hasNext:()Z
ifne 89
92: aload 32
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 35
goto 104
StackMap locals:
StackMap stack:
93: aload 35
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.concurrent.Future
astore 34
start local 34 94: aload 31
aload 34
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
checkcast com.sun.tools.sjavac.server.CompilationSubResult
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
95: goto 104
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List java.util.concurrent.ExecutorService java.util.concurrent.Future java.util.Iterator
StackMap stack: java.util.concurrent.ExecutionException
96: astore 36
start local 36 97: new java.lang.StringBuilder
dup
ldc "Compilation failed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 36
invokevirtual java.util.concurrent.ExecutionException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
98: aload 36
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/Throwable;)V
end local 36 99: goto 104
100: StackMap locals:
StackMap stack: java.lang.InterruptedException
astore 36
start local 36 101: new java.lang.StringBuilder
dup
ldc "Compilation interrupted: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 36
invokevirtual java.lang.InterruptedException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/String;)V
102: aload 36
invokestatic com.sun.tools.sjavac.Log.error:(Ljava/lang/Throwable;)V
103: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
end local 36 end local 34 104: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List java.util.concurrent.ExecutorService top java.util.Iterator
StackMap stack:
aload 35
invokeinterface java.util.Iterator.hasNext:()Z
ifne 93
105: aload 33
invokeinterface java.util.concurrent.ExecutorService.shutdownNow:()Ljava/util/List;
pop
106: aload 31
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 35
goto 133
StackMap locals:
StackMap stack:
107: aload 35
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.sjavac.server.CompilationSubResult
astore 34
start local 34 108: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageArtifacts:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 112
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List java.util.concurrent.ExecutorService com.sun.tools.sjavac.server.CompilationSubResult java.util.Iterator top java.util.Iterator
StackMap stack:
109: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 36
start local 36 110: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageArtifacts:Ljava/util/Map;
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 38
start local 38 111: aload 6
aload 36
aload 38
invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/Util.union(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set; (6)
(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;
invokeinterface java.util.Map.merge:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
end local 38 end local 36 112: StackMap locals:
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 109
113: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageDependencies:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 117
StackMap locals:
StackMap stack:
114: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 36
start local 36 115: aload 7
aload 36
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
116: aload 7
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageDependencies:Ljava/util/Map;
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
end local 36 117: StackMap locals:
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 114
118: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageCpDependencies:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 122
StackMap locals:
StackMap stack:
119: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 36
start local 36 120: aload 8
aload 36
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
121: aload 8
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packageCpDependencies:Ljava/util/Map;
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
end local 36 122: StackMap locals:
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 119
123: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packagePubapis:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 126
StackMap locals:
StackMap stack:
124: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 36
start local 36 125: aload 9
aload 36
aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.packagePubapis:Ljava/util/Map;
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubApi
invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.mergeTypes(Lcom/sun/tools/sjavac/pubapi/PubApi;Lcom/sun/tools/sjavac/pubapi/PubApi;)Lcom/sun/tools/sjavac/pubapi/PubApi; (6)
(Lcom/sun/tools/sjavac/pubapi/PubApi;Lcom/sun/tools/sjavac/pubapi/PubApi;)Lcom/sun/tools/sjavac/pubapi/PubApi;
invokeinterface java.util.Map.merge:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
end local 36 126: StackMap locals:
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 124
127: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.dependencyPubapis:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 37
goto 130
StackMap locals:
StackMap stack:
128: aload 37
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 36
start local 36 129: aload 10
aload 36
aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.dependencyPubapis:Ljava/util/Map;
aload 36
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.sjavac.pubapi.PubApi
invokedynamic apply()Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/sjavac/pubapi/PubApi.mergeTypes(Lcom/sun/tools/sjavac/pubapi/PubApi;Lcom/sun/tools/sjavac/pubapi/PubApi;)Lcom/sun/tools/sjavac/pubapi/PubApi; (6)
(Lcom/sun/tools/sjavac/pubapi/PubApi;Lcom/sun/tools/sjavac/pubapi/PubApi;)Lcom/sun/tools/sjavac/pubapi/PubApi;
invokeinterface java.util.Map.merge:(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
end local 36 130: StackMap locals:
StackMap stack:
aload 37
invokeinterface java.util.Iterator.hasNext:()Z
ifne 128
131: aload 34
getfield com.sun.tools.sjavac.server.CompilationSubResult.result:Lcom/sun/tools/javac/main/Main$Result;
getstatic com.sun.tools.javac.main.Main$Result.OK:Lcom/sun/tools/javac/main/Main$Result;
if_acmpeq 133
132: iconst_0
istore 14
end local 34 133: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.comp.CompilationService java.util.Map java.util.Set java.util.Map java.net.URI java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map int int int int int java.lang.String com.sun.tools.sjavac.server.SysInfo int int int int int java.lang.String java.lang.String int com.sun.tools.sjavac.CompileChunk[] long java.util.List java.lang.Object java.util.List java.util.List java.util.concurrent.ExecutorService top java.util.Iterator
StackMap stack:
aload 35
invokeinterface java.util.Iterator.hasNext:()Z
ifne 107
134: invokestatic java.lang.System.currentTimeMillis:()J
lload 27
lsub
lstore 34
start local 34 135: lload 34
ldc 60000
ldiv
lstore 36
start local 36 136: lload 34
lload 36
ldc 60000
lmul
lsub
ldc 1000
ldiv
lstore 38
start local 38 137: new java.lang.StringBuilder
dup
ldc "Compilation of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 20
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " source files took "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 36
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "m "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 38
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "s"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Log.debug:(Ljava/lang/String;)V
138: iload 14
ireturn
end local 38 end local 36 end local 34 end local 33 end local 32 end local 31 end local 30 end local 29 end local 27 end local 26 end local 25 end local 24 end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 139 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
0 139 1 sjavac Lcom/sun/tools/sjavac/comp/CompilationService;
0 139 2 pkgSrcs Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
0 139 3 visibleSources Ljava/util/Set<Ljava/net/URI;>;
0 139 4 oldPackageDependents Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
0 139 5 destRoot Ljava/net/URI;
0 139 6 packageArtifacts Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
0 139 7 packageDependencies Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;
0 139 8 packageCpDependencies Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;
0 139 9 packagePubapis Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;
0 139 10 dependencyPubapis Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;
0 139 11 debugLevel I
0 139 12 incremental Z
0 139 13 numCores I
2 139 14 rc Z
3 139 15 concurrentCompiles Z
4 139 16 id Ljava/lang/String;
5 139 17 sysinfo Lcom/sun/tools/sjavac/server/SysInfo;
6 139 18 numMBytes I
17 139 19 numCompiles I
19 139 20 numSources I
21 23 21 s Ljava/lang/String;
22 23 23 ss Ljava/util/Set<Ljava/net/URI;>;
25 139 21 sourcesPerCompile I
26 139 22 kbPerFile I
27 139 23 osarch Ljava/lang/String;
28 139 24 dataModel Ljava/lang/String;
31 139 25 numRequiredMBytes I
48 54 26 usagePerCompile F
49 54 27 usage I
58 139 26 compileChunks [Lcom/sun/tools/sjavac/CompileChunk;
60 70 27 cn I
62 68 28 cc Lcom/sun/tools/sjavac/CompileChunk;
66 67 32 u Ljava/net/URI;
71 139 27 start J
72 139 29 compilationCalls Ljava/util/List<Ljava/util/concurrent/Callable<Lcom/sun/tools/sjavac/server/CompilationSubResult;>;>;
73 139 30 lock Ljava/lang/Object;
74 83 31 i I
76 81 32 cc Lcom/sun/tools/sjavac/CompileChunk;
79 81 33 chunkId Ljava/lang/String;
80 81 34 log Lcom/sun/tools/sjavac/Log;
84 139 31 subResults Ljava/util/List<Lcom/sun/tools/sjavac/server/CompilationSubResult;>;
85 139 32 futs Ljava/util/List<Ljava/util/concurrent/Future<Lcom/sun/tools/sjavac/server/CompilationSubResult;>;>;
88 139 33 exec Ljava/util/concurrent/ExecutorService;
90 91 34 compilationCall Ljava/util/concurrent/Callable<Lcom/sun/tools/sjavac/server/CompilationSubResult;>;
94 104 34 fut Ljava/util/concurrent/Future<Lcom/sun/tools/sjavac/server/CompilationSubResult;>;
97 99 36 ee Ljava/util/concurrent/ExecutionException;
101 104 36 ie Ljava/lang/InterruptedException;
108 133 34 subResult Lcom/sun/tools/sjavac/server/CompilationSubResult;
110 112 36 pkg Ljava/lang/String;
111 112 38 pkgArtifacts Ljava/util/Set<Ljava/net/URI;>;
115 117 36 pkg Ljava/lang/String;
120 122 36 pkg Ljava/lang/String;
125 126 36 pkg Ljava/lang/String;
129 130 36 pkg Ljava/lang/String;
135 139 34 duration J
136 139 36 minutes J
137 139 38 seconds J
Exception table:
from to target type
94 95 96 Class java.util.concurrent.ExecutionException
94 95 100 Class java.lang.InterruptedException
Signature: (Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;Ljava/util/Set<Ljava/net/URI;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;Ljava/net/URI;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;>;Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/sjavac/pubapi/PubApi;>;IZI)Z
MethodParameters:
Name Flags
sjavac final
pkgSrcs
visibleSources final
oldPackageDependents
destRoot
packageArtifacts final
packageDependencies final
packageCpDependencies final
packagePubapis final
dependencyPubapis final
debugLevel
incremental
numCores
com.sun.tools.sjavac.CompileChunk[] createCompileChunks(java.util.Map<java.lang.String, java.util.Set<java.net.URI>>, java.util.Map<java.lang.String, java.util.Set<java.lang.String>>, int, int);
descriptor: (Ljava/util/Map;Ljava/util/Map;II)[Lcom/sun/tools/sjavac/CompileChunk;
flags: (0x0000)
Code:
stack=4, locals=17, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
anewarray com.sun.tools.sjavac.CompileChunk
astore 5
start local 5 1: iconst_0
istore 6
start local 6 2: goto 5
3: StackMap locals: com.sun.tools.sjavac.CompileChunk[] int
StackMap stack:
aload 5
iload 6
new com.sun.tools.sjavac.CompileChunk
dup
invokespecial com.sun.tools.sjavac.CompileChunk.<init>:()V
aastore
4: iinc 6 1
StackMap locals:
StackMap stack:
5: iload 6
aload 5
arraylength
if_icmplt 3
end local 6 6: iconst_0
istore 6
start local 6 7: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 7
start local 7 8: aload 7
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
9: aconst_null
astore 8
start local 8 10: aload 7
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 29
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages java.util.Map java.util.Map int int com.sun.tools.sjavac.CompileChunk[] int java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
11: aload 12
iload 10
aaload
astore 9
start local 9 12: aload 5
iload 6
aaload
astore 13
start local 13 13: aload 1
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 14
start local 14 14: aload 13
getfield com.sun.tools.sjavac.CompileChunk.srcs:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
aload 14
invokeinterface java.util.Set.size:()I
iadd
iload 4
if_icmple 18
iload 6
iload 3
iconst_1
isub
if_icmpge 18
15: aconst_null
astore 8
16: iinc 6 1
17: aload 5
iload 6
aaload
astore 13
18: StackMap locals: com.sun.tools.sjavac.CompileJavaPackages java.util.Map java.util.Map int int com.sun.tools.sjavac.CompileChunk[] int java.lang.String[] java.lang.String java.lang.String int int java.lang.String[] com.sun.tools.sjavac.CompileChunk java.util.Set
StackMap stack:
aload 13
dup
getfield com.sun.tools.sjavac.CompileChunk.numPackages:I
iconst_1
iadd
putfield com.sun.tools.sjavac.CompileChunk.numPackages:I
19: aload 13
getfield com.sun.tools.sjavac.CompileChunk.srcs:Ljava/util/Set;
aload 14
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
20: aload 9
invokestatic com.sun.tools.sjavac.Util.justPackageName:(Ljava/lang/String;)Ljava/lang/String;
astore 15
start local 15 21: aload 2
aload 9
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 16
start local 16 22: aload 16
ifnull 24
23: aload 13
dup
getfield com.sun.tools.sjavac.CompileChunk.numDependents:I
aload 16
invokeinterface java.util.Set.size:()I
iadd
putfield com.sun.tools.sjavac.CompileChunk.numDependents:I
24: StackMap locals: java.lang.String java.util.Set
StackMap stack:
aload 8
ifnull 25
aload 8
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
StackMap locals:
StackMap stack:
25: aload 15
astore 8
26: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.tools.sjavac.CompileChunk.pkgNames:Ljava/lang/StringBuilder;
new java.lang.StringBuilder
dup
aload 15
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokeinterface java.util.Set.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
27: aload 13
new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.tools.sjavac.CompileChunk.pkgFromTos:Ljava/lang/String;
end local 16 end local 15 end local 14 end local 13 end local 9 28: iinc 10 1
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages java.util.Map java.util.Map int int com.sun.tools.sjavac.CompileChunk[] int java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
29: iload 10
iload 11
if_icmplt 11
30: aload 5
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
31: aload 5
areturn
end local 8 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 32 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
0 32 1 pkgSrcs Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;
0 32 2 oldPackageDependents Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
0 32 3 numCompiles I
0 32 4 sourcesPerCompile I
1 32 5 compileChunks [Lcom/sun/tools/sjavac/CompileChunk;
2 6 6 i I
7 32 6 ci I
8 32 7 packageNames [Ljava/lang/String;
10 32 8 from Ljava/lang/String;
12 28 9 pkgName Ljava/lang/String;
13 28 13 cc Lcom/sun/tools/sjavac/CompileChunk;
14 28 14 s Ljava/util/Set<Ljava/net/URI;>;
21 28 15 justPkgName Ljava/lang/String;
22 28 16 ss Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/net/URI;>;>;Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;II)[Lcom/sun/tools/sjavac/CompileChunk;
MethodParameters:
Name Flags
pkgSrcs
oldPackageDependents
numCompiles
sourcesPerCompile
private com.sun.tools.sjavac.server.CompilationSubResult lambda$0(com.sun.tools.sjavac.Log, com.sun.tools.sjavac.comp.CompilationService, java.lang.String, com.sun.tools.sjavac.CompileChunk, java.util.Set, java.lang.Object);
descriptor: (Lcom/sun/tools/sjavac/Log;Lcom/sun/tools/sjavac/comp/CompilationService;Ljava/lang/String;Lcom/sun/tools/sjavac/CompileChunk;Ljava/util/Set;Ljava/lang/Object;)Lcom/sun/tools/sjavac/server/CompilationSubResult;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=7, locals=9, args_size=7
start local 0 0: aload 1
invokestatic com.sun.tools.sjavac.Log.setLogForCurrentThread:(Lcom/sun/tools/sjavac/Log;)V
1: aload 2
ldc "n/a"
2: aload 3
3: aload 0
getfield com.sun.tools.sjavac.CompileJavaPackages.args:Lcom/sun/tools/sjavac/options/Options;
invokevirtual com.sun.tools.sjavac.options.Options.prepJavacArgs:()[Ljava/lang/String;
4: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
5: aload 4
getfield com.sun.tools.sjavac.CompileChunk.srcs:Ljava/util/Set;
6: aload 5
7: invokevirtual com.sun.tools.sjavac.comp.CompilationService.compile:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;)Lcom/sun/tools/sjavac/server/CompilationSubResult;
astore 7
start local 7 8: aload 6
dup
astore 8
monitorenter
9: aload 7
getfield com.sun.tools.sjavac.server.CompilationSubResult.stdout:Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Util.getLines:(Ljava/lang/String;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/Log.info(Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: aload 7
getfield com.sun.tools.sjavac.server.CompilationSubResult.stderr:Ljava/lang/String;
invokestatic com.sun.tools.sjavac.Util.getLines:(Ljava/lang/String;)Ljava/util/stream/Stream;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/sun/tools/sjavac/Log.error(Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
11: aload 8
monitorexit
12: goto 15
StackMap locals: com.sun.tools.sjavac.CompileJavaPackages com.sun.tools.sjavac.Log com.sun.tools.sjavac.comp.CompilationService java.lang.String com.sun.tools.sjavac.CompileChunk java.util.Set java.lang.Object com.sun.tools.sjavac.server.CompilationSubResult java.lang.Object
StackMap stack: java.lang.Throwable
13: aload 8
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 7
areturn
end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/sjavac/CompileJavaPackages;
8 16 7 result Lcom/sun/tools/sjavac/server/CompilationSubResult;
Exception table:
from to target type
9 12 13 any
13 14 13 any
Exceptions:
throws java.lang.Exception
}
SourceFile: "CompileJavaPackages.java"
InnerClasses:
public final Result = com.sun.tools.javac.main.Main$Result of com.sun.tools.javac.main.Main
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles