Mercurial > hg > graal-compiler
comparison src/share/vm/oops/instanceKlass.cpp @ 9062:8be1318fbe77
Merge
author | dcubed |
---|---|
date | Fri, 05 Apr 2013 10:38:08 -0700 |
parents | 46f6f063b272 8554c55669b0 |
children | 89e4d67fdd2a 6337ca4dcad8 |
comparison
equal
deleted
inserted
replaced
9055:dcdeb150988c | 9062:8be1318fbe77 |
---|---|
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"); |