src/hotspot/share/oops/method.cpp
changeset 57574 6a159c6c23cc
parent 55499 1887e16a5657
child 57584 9d82a35b6ff7
equal deleted inserted replaced
57573:7e8f6c56c285 57574:6a159c6c23cc
   144 address Method::get_c2i_unverified_entry() {
   144 address Method::get_c2i_unverified_entry() {
   145   assert(adapter() != NULL, "must have");
   145   assert(adapter() != NULL, "must have");
   146   return adapter()->get_c2i_unverified_entry();
   146   return adapter()->get_c2i_unverified_entry();
   147 }
   147 }
   148 
   148 
       
   149 address Method::get_c2i_no_clinit_check_entry() {
       
   150   assert(VM_Version::supports_fast_class_init_checks(), "");
       
   151   assert(adapter() != NULL, "must have");
       
   152   return adapter()->get_c2i_no_clinit_check_entry();
       
   153 }
       
   154 
   149 char* Method::name_and_sig_as_C_string() const {
   155 char* Method::name_and_sig_as_C_string() const {
   150   return name_and_sig_as_C_string(constants()->pool_holder(), name(), signature());
   156   return name_and_sig_as_C_string(constants()->pool_holder(), name(), signature());
   151 }
   157 }
   152 
   158 
   153 char* Method::name_and_sig_as_C_string(char* buf, int size) const {
   159 char* Method::name_and_sig_as_C_string(char* buf, int size) const {
  1046                                                  +----> [AdapterHandlerEntry] (allocated at run time)
  1052                                                  +----> [AdapterHandlerEntry] (allocated at run time)
  1047                                                               _fingerprint
  1053                                                               _fingerprint
  1048                                                               _c2i_entry ---------------------------------+->[c2i entry..]
  1054                                                               _c2i_entry ---------------------------------+->[c2i entry..]
  1049  _i2i_entry  -------------+                                   _i2c_entry ---------------+-> [i2c entry..] |
  1055  _i2i_entry  -------------+                                   _i2c_entry ---------------+-> [i2c entry..] |
  1050  _from_interpreted_entry  |                                   _c2i_unverified_entry     |                 |
  1056  _from_interpreted_entry  |                                   _c2i_unverified_entry     |                 |
  1051          |                |                                                             |                 |
  1057          |                |                                   _c2i_no_clinit_check_entry|                 |
  1052          |                |  (_cds_entry_table: CODE)                                   |                 |
  1058          |                |  (_cds_entry_table: CODE)                                   |                 |
  1053          |                +->[0]: jmp _entry_table[0] --> (i2i_entry_for "zero_locals") |                 |
  1059          |                +->[0]: jmp _entry_table[0] --> (i2i_entry_for "zero_locals") |                 |
  1054          |                |                               (allocated at run time)       |                 |
  1060          |                |                               (allocated at run time)       |                 |
  1055          |                |  ...                           [asm code ...]               |                 |
  1061          |                |  ...                           [asm code ...]               |                 |
  1056          +-[not compiled]-+  [n]: jmp _entry_table[n]                                   |                 |
  1062          +-[not compiled]-+  [n]: jmp _entry_table[n]                                   |                 |