Mercurial > hg > graal-compiler
comparison src/share/vm/code/codeBlob.cpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | b9a918201d47 a7fb14888912 |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
346 return stub; | 346 return stub; |
347 } | 347 } |
348 | 348 |
349 | 349 |
350 void* RuntimeStub::operator new(size_t s, unsigned size) { | 350 void* RuntimeStub::operator new(size_t s, unsigned size) { |
351 void* p = CodeCache::allocate(size); | 351 void* p = CodeCache::allocate(size, true); |
352 if (!p) fatal("Initial size of CodeCache is too small"); | 352 if (!p) fatal("Initial size of CodeCache is too small"); |
353 return p; | 353 return p; |
354 } | 354 } |
355 | 355 |
356 // operator new shared by all singletons: | 356 // operator new shared by all singletons: |
357 void* SingletonBlob::operator new(size_t s, unsigned size) { | 357 void* SingletonBlob::operator new(size_t s, unsigned size) { |
358 void* p = CodeCache::allocate(size); | 358 void* p = CodeCache::allocate(size, true); |
359 if (!p) fatal("Initial size of CodeCache is too small"); | 359 if (!p) fatal("Initial size of CodeCache is too small"); |
360 return p; | 360 return p; |
361 } | 361 } |
362 | 362 |
363 | 363 |