src/share/vm/c1/c1_Compilation.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/c1

src/share/vm/c1/c1_Compilation.hpp

Print this page
rev 10101 : 8138756: Compiler Control: Print directives in hs_err
Summary: Add directive print in hs_err
Reviewed-by:


 104   int  compile_java_method();
 105   void install_code(int frame_size);
 106   void compile_method();
 107 
 108   void generate_exception_handler_table();
 109 
 110   ExceptionInfoList* exception_info_list() const { return _exception_info_list; }
 111   ExceptionHandlerTable* exception_handler_table() { return &_exception_handler_table; }
 112 
 113   LinearScan* allocator()                          { return _allocator;      }
 114   void        set_allocator(LinearScan* allocator) { _allocator = allocator; }
 115 
 116   Instruction*       _current_instruction;       // the instruction currently being processed
 117 #ifndef PRODUCT
 118   Instruction*       _last_instruction_printed;  // the last instruction printed during traversal
 119 #endif // PRODUCT
 120 
 121  public:
 122   // creation
 123   Compilation(AbstractCompiler* compiler, ciEnv* env, ciMethod* method,
 124               int osr_bci, BufferBlob* buffer_blob, DirectiveSet* directive);
 125   ~Compilation();
 126 
 127 
 128   static Compilation* current() {
 129     return (Compilation*) ciEnv::current()->compiler_data();
 130   }
 131 
 132   // accessors
 133   ciEnv* env() const                             { return _env; }
 134   DirectiveSet* directive() const                { return _directive; }
 135   CompileLog* log() const                        { return _log; }
 136   AbstractCompiler* compiler() const             { return _compiler; }
 137   bool has_exception_handlers() const            { return _has_exception_handlers; }
 138   bool has_fpu_code() const                      { return _has_fpu_code; }
 139   bool has_unsafe_access() const                 { return _has_unsafe_access; }
 140   int max_vector_size() const                    { return 0; }
 141   ciMethod* method() const                       { return _method; }
 142   int osr_bci() const                            { return _osr_bci; }
 143   bool is_osr_compile() const                    { return osr_bci() >= 0; }
 144   IR* hir() const                                { return _hir; }




 104   int  compile_java_method();
 105   void install_code(int frame_size);
 106   void compile_method();
 107 
 108   void generate_exception_handler_table();
 109 
 110   ExceptionInfoList* exception_info_list() const { return _exception_info_list; }
 111   ExceptionHandlerTable* exception_handler_table() { return &_exception_handler_table; }
 112 
 113   LinearScan* allocator()                          { return _allocator;      }
 114   void        set_allocator(LinearScan* allocator) { _allocator = allocator; }
 115 
 116   Instruction*       _current_instruction;       // the instruction currently being processed
 117 #ifndef PRODUCT
 118   Instruction*       _last_instruction_printed;  // the last instruction printed during traversal
 119 #endif // PRODUCT
 120 
 121  public:
 122   // creation
 123   Compilation(AbstractCompiler* compiler, ciEnv* env, ciMethod* method,
 124               int osr_bci, BufferBlob* buffer_blob);
 125   ~Compilation();
 126 
 127 
 128   static Compilation* current() {
 129     return (Compilation*) ciEnv::current()->compiler_data();
 130   }
 131 
 132   // accessors
 133   ciEnv* env() const                             { return _env; }
 134   DirectiveSet* directive() const                { return _directive; }
 135   CompileLog* log() const                        { return _log; }
 136   AbstractCompiler* compiler() const             { return _compiler; }
 137   bool has_exception_handlers() const            { return _has_exception_handlers; }
 138   bool has_fpu_code() const                      { return _has_fpu_code; }
 139   bool has_unsafe_access() const                 { return _has_unsafe_access; }
 140   int max_vector_size() const                    { return 0; }
 141   ciMethod* method() const                       { return _method; }
 142   int osr_bci() const                            { return _osr_bci; }
 143   bool is_osr_compile() const                    { return osr_bci() >= 0; }
 144   IR* hir() const                                { return _hir; }


src/share/vm/c1/c1_Compilation.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File