Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlass.cpp @ 9088:89e4d67fdd2a
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 12 Apr 2013 14:05:42 +0200 |
parents | b9a918201d47 8be1318fbe77 |
children | 836a62f43af9 |
comparison
equal
deleted
inserted
replaced
9037:b008f40b67d0 | 9088:89e4d67fdd2a |
---|---|
3155 // Verify method ordering | 3155 // Verify method ordering |
3156 if (method_ordering() != NULL) { | 3156 if (method_ordering() != NULL) { |
3157 Array<int>* method_ordering = this->method_ordering(); | 3157 Array<int>* method_ordering = this->method_ordering(); |
3158 int length = method_ordering->length(); | 3158 int length = method_ordering->length(); |
3159 if (JvmtiExport::can_maintain_original_method_order() || | 3159 if (JvmtiExport::can_maintain_original_method_order() || |
3160 (UseSharedSpaces && length != 0)) { | 3160 ((UseSharedSpaces || DumpSharedSpaces) && length != 0)) { |
3161 guarantee(length == methods()->length(), "invalid method ordering length"); | 3161 guarantee(length == methods()->length(), "invalid method ordering length"); |
3162 jlong sum = 0; | 3162 jlong sum = 0; |
3163 for (int j = 0; j < length; j++) { | 3163 for (int j = 0; j < length; j++) { |
3164 int original_index = method_ordering->at(j); | 3164 int original_index = method_ordering->at(j); |
3165 guarantee(original_index >= 0, "invalid method ordering index"); | 3165 guarantee(original_index >= 0, "invalid method ordering index"); |