diff 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
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp	Thu Apr 04 21:15:43 2013 -0700
+++ b/src/share/vm/oops/instanceKlass.cpp	Fri Apr 05 10:38:08 2013 -0700
@@ -3157,7 +3157,7 @@
     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++) {