This commit is contained in:
Daniel D. Daugherty 2013-04-05 10:38:08 -07:00
commit 78339229bb
40 changed files with 626 additions and 318 deletions

View file

@ -3157,7 +3157,7 @@ void InstanceKlass::verify_on(outputStream* st) {
Array<int>* method_ordering = this->method_ordering();
int length = method_ordering->length();
if (JvmtiExport::can_maintain_original_method_order() ||
(UseSharedSpaces && length != 0)) {
((UseSharedSpaces || DumpSharedSpaces) && length != 0)) {
guarantee(length == methods()->length(), "invalid method ordering length");
jlong sum = 0;
for (int j = 0; j < length; j++) {