src/hotspot/share/jvmci/jvmciCodeInstaller.hpp
changeset 55293 d19dc5b10fbb
parent 54669 ad45b3802d4e
equal deleted inserted replaced
55292:f4b2d5b83ebf 55293:d19dc5b10fbb
    83   AOTOopRecorder* get_oop_recorder() { return _oop_recorder; }
    83   AOTOopRecorder* get_oop_recorder() { return _oop_recorder; }
    84 #endif
    84 #endif
    85 
    85 
    86   ExceptionHandlerTable* get_exception_table() { return _exception_table; }
    86   ExceptionHandlerTable* get_exception_table() { return _exception_table; }
    87 
    87 
       
    88   ImplicitExceptionTable* get_implicit_exception_table() { return _implicit_exception_table; }
       
    89 
    88   void set_pc_desc(PcDesc* desc, int count) {
    90   void set_pc_desc(PcDesc* desc, int count) {
    89     _pc_desc = desc;
    91     _pc_desc = desc;
    90     _nr_pc_desc = count;
    92     _nr_pc_desc = count;
    91   }
    93   }
    92 
    94 
   101   }
   103   }
   102 #endif
   104 #endif
   103 
   105 
   104   void set_exception_table(ExceptionHandlerTable* table) {
   106   void set_exception_table(ExceptionHandlerTable* table) {
   105     _exception_table = table;
   107     _exception_table = table;
       
   108   }
       
   109 
       
   110   void set_implicit_exception_table(ImplicitExceptionTable* table) {
       
   111     _implicit_exception_table = table;
   106   }
   112   }
   107 
   113 
   108 private:
   114 private:
   109   CodeBlob* _cb;
   115   CodeBlob* _cb;
   110   PcDesc* _pc_desc;
   116   PcDesc* _pc_desc;
   116 #if INCLUDE_AOT
   122 #if INCLUDE_AOT
   117   RelocBuffer _reloc_buffer;
   123   RelocBuffer _reloc_buffer;
   118   AOTOopRecorder* _oop_recorder;
   124   AOTOopRecorder* _oop_recorder;
   119 #endif
   125 #endif
   120   ExceptionHandlerTable* _exception_table;
   126   ExceptionHandlerTable* _exception_table;
       
   127   ImplicitExceptionTable* _implicit_exception_table;
   121 };
   128 };
   122 
   129 
   123 /*
   130 /*
   124  * This class handles the conversion from a InstalledCode to a CodeBlob or an nmethod.
   131  * This class handles the conversion from a InstalledCode to a CodeBlob or an nmethod.
   125  */
   132  */
   183 
   190 
   184   OopRecorder*              _oop_recorder;
   191   OopRecorder*              _oop_recorder;
   185   DebugInformationRecorder* _debug_recorder;
   192   DebugInformationRecorder* _debug_recorder;
   186   Dependencies*             _dependencies;
   193   Dependencies*             _dependencies;
   187   ExceptionHandlerTable     _exception_handler_table;
   194   ExceptionHandlerTable     _exception_handler_table;
       
   195   ImplicitExceptionTable    _implicit_exception_table;
   188 
   196 
   189   bool _immutable_pic_compilation;  // Installer is called for Immutable PIC compilation.
   197   bool _immutable_pic_compilation;  // Installer is called for Immutable PIC compilation.
   190 
   198 
   191   static ConstantOopWriteValue* _oop_null_scope_value;
   199   static ConstantOopWriteValue* _oop_null_scope_value;
   192   static ConstantIntValue*    _int_m1_scope_value;
   200   static ConstantIntValue*    _int_m1_scope_value;