Mercurial > hg > truffle
comparison src/share/vm/oops/method.hpp @ 8068:56c364daccc3
8007153: Ensure that MethodParameters API works properly with RedefineClasses
Summary: Adds code to HotSpot to properly update MethodParameter attributes' constant pool indexes when redefineClasses is called
Reviewed-by: coleenp, sspitsyn
author | emc |
---|---|
date | Tue, 19 Feb 2013 11:36:52 -0500 |
parents | 927a311d00f9 |
children | 5fc51c1ecdeb 16885e702c88 |
comparison
equal
deleted
inserted
replaced
8066:b5e3ec9c69fa | 8068:56c364daccc3 |
---|---|
454 void print_codes() const { print_codes_on(tty); } | 454 void print_codes() const { print_codes_on(tty); } |
455 void print_codes_on(outputStream* st) const PRODUCT_RETURN; | 455 void print_codes_on(outputStream* st) const PRODUCT_RETURN; |
456 void print_codes_on(int from, int to, outputStream* st) const PRODUCT_RETURN; | 456 void print_codes_on(int from, int to, outputStream* st) const PRODUCT_RETURN; |
457 | 457 |
458 // method parameters | 458 // method parameters |
459 bool has_method_parameters() const | |
460 { return constMethod()->has_method_parameters(); } | |
459 int method_parameters_length() const | 461 int method_parameters_length() const |
460 { return constMethod()->method_parameters_length(); } | 462 { return constMethod()->method_parameters_length(); } |
461 MethodParametersElement* method_parameters_start() const | 463 MethodParametersElement* method_parameters_start() const |
462 { return constMethod()->method_parameters_start(); } | 464 { return constMethod()->method_parameters_start(); } |
463 | 465 |