38 // Creation 39 Compiler(); 40 ~Compiler(); 41 42 // Name of this compiler 43 virtual const char* name() { return "C1"; } 44 45 // Missing feature tests 46 virtual bool supports_native() { return true; } 47 virtual bool supports_osr () { return true; } 48 49 // Initialization 50 virtual void initialize(); 51 52 // Compilation entry point for methods 53 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci); 54 55 // Print compilation timers and statistics 56 virtual void print_timers(); 57 58 // Size of the code buffer 59 static int code_buffer_size(); 60 }; 61 62 #endif // SHARE_VM_C1_C1_COMPILER_HPP | 38 // Creation 39 Compiler(); 40 ~Compiler(); 41 42 // Name of this compiler 43 virtual const char* name() { return "C1"; } 44 45 // Missing feature tests 46 virtual bool supports_native() { return true; } 47 virtual bool supports_osr () { return true; } 48 49 // Initialization 50 virtual void initialize(); 51 52 // Compilation entry point for methods 53 virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci); 54 55 // Print compilation timers and statistics 56 virtual void print_timers(); 57 58 // Check the availability of an intrinsic for 'method' given a compilation context. 59 // The compilation context is needed to support per-method usage of the 60 // DisableIntrinsic flag. However, as C1 ignores the DisableIntrinsic flag, the 61 // compilation context can be ignored. 62 virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context) { 63 return is_intrinsic_available(method); 64 } 65 // Check the availability of an intrinsic for a 'method'. 66 virtual bool is_intrinsic_available(methodHandle method); 67 68 // Check if the C1 compiler supports an intrinsic for 'method'. 69 virtual bool is_intrinsic_supported(methodHandle method); 70 71 // Processing of command-line flags specific to the C1 compiler. 72 virtual bool is_intrinsic_disabled_by_flag(methodHandle method); 73 74 // Size of the code buffer 75 static int code_buffer_size(); 76 }; 77 78 #endif // SHARE_VM_C1_C1_COMPILER_HPP |