Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/park.cpp @ 6275:957c266d8bc5
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 21 Aug 2012 10:39:19 +0200 |
parents | d2a62e0f25eb |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
139 // as it can result in D$ index usage imbalance as | 139 // as it can result in D$ index usage imbalance as |
140 // well as bank access imbalance on Niagara-like platforms, | 140 // well as bank access imbalance on Niagara-like platforms, |
141 // although Niagara's hash function should help. | 141 // although Niagara's hash function should help. |
142 | 142 |
143 void * ParkEvent::operator new (size_t sz) { | 143 void * ParkEvent::operator new (size_t sz) { |
144 return (void *) ((intptr_t (CHeapObj::operator new (sz + 256)) + 256) & -256) ; | 144 return (void *) ((intptr_t (AllocateHeap(sz + 256, mtInternal, CALLER_PC)) + 256) & -256) ; |
145 } | 145 } |
146 | 146 |
147 void ParkEvent::operator delete (void * a) { | 147 void ParkEvent::operator delete (void * a) { |
148 // ParkEvents are type-stable and immortal ... | 148 // ParkEvents are type-stable and immortal ... |
149 ShouldNotReachHere(); | 149 ShouldNotReachHere(); |