src/share/vm/code/codeBlob.cpp

changeset 4952
a7fb14888912
parent 4767
a5de0cc2f91c
child 5614
9758d9f36299
     1.1 --- a/src/share/vm/code/codeBlob.cpp	Tue Apr 16 10:04:01 2013 -0700
     1.2 +++ b/src/share/vm/code/codeBlob.cpp	Thu Apr 11 13:57:44 2013 +0200
     1.3 @@ -348,14 +348,14 @@
     1.4  
     1.5  
     1.6  void* RuntimeStub::operator new(size_t s, unsigned size) {
     1.7 -  void* p = CodeCache::allocate(size);
     1.8 +  void* p = CodeCache::allocate(size, true);
     1.9    if (!p) fatal("Initial size of CodeCache is too small");
    1.10    return p;
    1.11  }
    1.12  
    1.13  // operator new shared by all singletons:
    1.14  void* SingletonBlob::operator new(size_t s, unsigned size) {
    1.15 -  void* p = CodeCache::allocate(size);
    1.16 +  void* p = CodeCache::allocate(size, true);
    1.17    if (!p) fatal("Initial size of CodeCache is too small");
    1.18    return p;
    1.19  }

mercurial