--- 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;
}