diff src/share/vm/classfile/classLoaderData.cpp @ 7614:59a58e20dc60

8006537: Assert when dumping archive with default methods Reviewed-by: coleenp
author jmasa
date Thu, 17 Jan 2013 19:04:48 -0800
parents e51c9860cf66
children 5daaddd917a1
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoaderData.cpp	Thu Jan 17 11:39:48 2013 +0100
+++ b/src/share/vm/classfile/classLoaderData.cpp	Thu Jan 17 19:04:48 2013 -0800
@@ -318,6 +318,7 @@
 }
 
 Metaspace* ClassLoaderData::metaspace_non_null() {
+  assert(!DumpSharedSpaces, "wrong metaspace!");
   // If the metaspace has not been allocated, create a new one.  Might want
   // to create smaller arena for Reflection class loaders also.
   // The reason for the delayed allocation is because some class loaders are