8233363: Clarify the DumpSharedSpaces condition in InstanceKlass::verify_on
Change DumpSharedSpaces to Arguments::is_dumping_archive(). Reviewed-by: iklam, coleenp
This commit is contained in:
parent
83dda95d7f
commit
9c7e4bcf59
@ -3626,7 +3626,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 || DumpSharedSpaces) && length != 0)) {
|
||||
((UseSharedSpaces || Arguments::is_dumping_archive()) && length != 0)) {
|
||||
guarantee(length == methods()->length(), "invalid method ordering length");
|
||||
jlong sum = 0;
|
||||
for (int j = 0; j < length; j++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user