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, it 61 // ignores the compilation context. 62 virtual bool is_intrinsic_available(methodHandle method, methodHandle compilation_context); 63 64 // Check if the C1 compiler supports an intrinsic for 'method'. 65 virtual bool is_intrinsic_supported(methodHandle method); 66 67 // Processing of command-line flags specific to the C1 compiler. 68 virtual bool is_intrinsic_disabled_by_flag(methodHandle method); 69 70 // Size of the code buffer 71 static int code_buffer_size(); 72 }; 73 74 #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 if the C1 compiler supports an intrinsic for 'method'. 59 virtual bool is_intrinsic_supported(methodHandle method); 60 61 // Size of the code buffer 62 static int code_buffer_size(); 63 }; 64 65 #endif // SHARE_VM_C1_C1_COMPILER_HPP |