diff src/share/vm/ci/ciReplay.cpp @ 7185:90273fc0a981

8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap Summary: Add ClassLoaderData object for each anonymous class with metaspaces to allocate in. Reviewed-by: twisti, jrose, stefank
author coleenp
date Thu, 29 Nov 2012 16:50:29 -0500
parents bd7a7ce2e264
children 203f64878aab db9981fd3124
line wrap: on
line diff
--- a/src/share/vm/ci/ciReplay.cpp	Tue Nov 27 14:11:37 2012 -0800
+++ b/src/share/vm/ci/ciReplay.cpp	Thu Nov 29 16:50:29 2012 -0500
@@ -31,7 +31,7 @@
 #include "memory/resourceArea.hpp"
 #include "utilities/copy.hpp"
 
-#ifdef ASSERT
+#ifndef PRODUCT
 
 // ciReplay
 
@@ -939,4 +939,4 @@
   ciMethodRecord* rec = replay_state->find_ciMethodRecord(method);
   return rec != NULL;
 }
-#endif
+#endif // PRODUCT