src/share/vm/oops/constMethod.hpp

changeset 4837
0c3ee6f1fa23
parent 4719
c8b31b461e1a
child 6876
710a3c8b516e
child 7636
fdde6a70ea85
equal deleted inserted replaced
4823:23f2d309e855 4837:0c3ee6f1fa23
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 }

mercurial