hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 16667 f0c0139a2125
parent 15935 50da9e5eb858
child 16672 152c041083e1
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Wed Apr 03 21:41:33 2013 +0200
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Thu Apr 04 08:47:39 2013 -0400
@@ -3168,7 +3168,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++) {