src/share/vm/code/codeBlob.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/code/codeBlob.cpp

src/share/vm/code/codeBlob.cpp

Print this page

        

*** 228,238 **** return blob; } void* BufferBlob::operator new(size_t s, unsigned size, bool is_critical) throw() { ! return CodeCache::allocate(size, CodeBlobType::NonMethod, is_critical); } void BufferBlob::free(BufferBlob *blob) { ThreadInVMfromUnknown __tiv; // get to VM state in case we block on CodeCache_lock blob->flush(); --- 228,238 ---- return blob; } void* BufferBlob::operator new(size_t s, unsigned size, bool is_critical) throw() { ! return CodeCache::allocate(size, CodeBlobType::NonNMethod, is_critical); } void BufferBlob::free(BufferBlob *blob) { ThreadInVMfromUnknown __tiv; // get to VM state in case we block on CodeCache_lock blob->flush();
*** 334,351 **** return stub; } void* RuntimeStub::operator new(size_t s, unsigned size) throw() { ! void* p = CodeCache::allocate(size, CodeBlobType::NonMethod, 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) throw() { ! void* p = CodeCache::allocate(size, CodeBlobType::NonMethod, true); if (!p) fatal("Initial size of CodeCache is too small"); return p; } --- 334,351 ---- return stub; } void* RuntimeStub::operator new(size_t s, unsigned size) throw() { ! void* p = CodeCache::allocate(size, CodeBlobType::NonNMethod, 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) throw() { ! void* p = CodeCache::allocate(size, CodeBlobType::NonNMethod, true); if (!p) fatal("Initial size of CodeCache is too small"); return p; }
src/share/vm/code/codeBlob.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File