diff src/share/vm/oops/instanceKlass.cpp @ 9088:89e4d67fdd2a

Merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Fri, 12 Apr 2013 14:05:42 +0200
parents b9a918201d47 8be1318fbe77
children 836a62f43af9
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp	Fri Apr 12 11:24:56 2013 +0200
+++ b/src/share/vm/oops/instanceKlass.cpp	Fri Apr 12 14:05:42 2013 +0200
@@ -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++) {