comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationTask.java @ 9621:e97dc9bbfedc

introduced installedCodeOwner parameter of type ResolvedJavaMethod to GraalCompiler.compileGraph to properly distinguish the source method of a graph from the method under which the code compiled for the graph will be installed
author Doug Simon <doug.simon@oracle.com>
date Wed, 08 May 2013 22:55:17 +0200
parents 1089d63ef168
children f9a65a0e626b
comparison
equal deleted inserted replaced
9620:0eda2b7df748 9621:e97dc9bbfedc
159 graph = graph.copy(); 159 graph = graph.copy();
160 } 160 }
161 InlinedBytecodes.add(method.getCodeSize()); 161 InlinedBytecodes.add(method.getCodeSize());
162 HotSpotRuntime runtime = graalRuntime.getRuntime(); 162 HotSpotRuntime runtime = graalRuntime.getRuntime();
163 CallingConvention cc = getCallingConvention(runtime, Type.JavaCallee, graph.method(), false); 163 CallingConvention cc = getCallingConvention(runtime, Type.JavaCallee, graph.method(), false);
164 return GraalCompiler.compileGraph(graph, cc, runtime, replacements, graalRuntime.getBackend(), graalRuntime.getTarget(), graalRuntime.getCache(), plan, optimisticOpts, 164 return GraalCompiler.compileGraph(graph, cc, method, runtime, replacements, graalRuntime.getBackend(), graalRuntime.getTarget(), graalRuntime.getCache(), plan, optimisticOpts,
165 method.getSpeculationLog()); 165 method.getSpeculationLog());
166 } 166 }
167 }); 167 });
168 } finally { 168 } finally {
169 filter.remove(); 169 filter.remove();