equal
deleted
inserted
replaced
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"); |