comparison jvmci/jdk.vm.ci.runtime/src/jdk/vm/ci/runtime/JVMCICompiler.java @ 22767:d88299d598d6

Add support for passing back bailout messages
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 12 Jan 2016 12:54:31 -0800
parents 1ecbf6cc9ab0
children 1fbfcc0334d3
comparison
equal deleted inserted replaced
22766:7d02b4097309 22767:d88299d598d6
21 * questions. 21 * questions.
22 */ 22 */
23 package jdk.vm.ci.runtime; 23 package jdk.vm.ci.runtime;
24 24
25 import jdk.vm.ci.code.CompilationRequest; 25 import jdk.vm.ci.code.CompilationRequest;
26 import jdk.vm.ci.code.CompilationRequestFailure;
26 27
27 public interface JVMCICompiler { 28 public interface JVMCICompiler {
28 int INVOCATION_ENTRY_BCI = -1; 29 int INVOCATION_ENTRY_BCI = -1;
29 30
30 /** 31 /**
31 * Services a compilation request. This object should compile the method to machine code and 32 * Services a compilation request. This object should compile the method to machine code and
32 * install it in the code cache if the compilation is successful. 33 * install it in the code cache if the compilation is successful.
33 */ 34 */
34 void compileMethod(CompilationRequest request); 35 CompilationRequestFailure compileMethod(CompilationRequest request);
35 } 36 }