hotspot/src/share/vm/oops/constMethod.hpp
changeset 16588 7e90e795813e
parent 15935 50da9e5eb858
child 23515 f4872ef5df09
equal deleted inserted replaced
16449:20ce131d6b8c 16588:7e90e795813e
   439   }
   439   }
   440   int default_annotations_length() const {
   440   int default_annotations_length() const {
   441     return has_default_annotations() ? default_annotations()->length() : 0;
   441     return has_default_annotations() ? default_annotations()->length() : 0;
   442   }
   442   }
   443 
   443 
       
   444   // Copy annotations from other ConstMethod
       
   445   void copy_annotations_from(ConstMethod* cm);
       
   446 
   444   // byte codes
   447   // byte codes
   445   void    set_code(address code) {
   448   void    set_code(address code) {
   446     if (code_size() > 0) {
   449     if (code_size() > 0) {
   447       memcpy(code_base(), code, code_size());
   450       memcpy(code_base(), code, code_size());
   448     }
   451     }