hotspot/src/share/vm/code/codeBlob.cpp
changeset 17016 78b1c3670525
parent 16368 713209c45a82
child 19696 bd5a0131bde1
--- a/hotspot/src/share/vm/code/codeBlob.cpp	Tue Apr 16 10:04:01 2013 -0700
+++ b/hotspot/src/share/vm/code/codeBlob.cpp	Thu Apr 11 13:57:44 2013 +0200
@@ -348,14 +348,14 @@
 
 
 void* RuntimeStub::operator new(size_t s, unsigned size) {
-  void* p = CodeCache::allocate(size);
+  void* p = CodeCache::allocate(size, true);
   if (!p) fatal("Initial size of CodeCache is too small");
   return p;
 }
 
 // operator new shared by all singletons:
 void* SingletonBlob::operator new(size_t s, unsigned size) {
-  void* p = CodeCache::allocate(size);
+  void* p = CodeCache::allocate(size, true);
   if (!p) fatal("Initial size of CodeCache is too small");
   return p;
 }