Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/sweeper.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 | 33df1aeaebbf d2a62e0f25eb |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
5891:fd8832ae511d | 6275:957c266d8bc5 |
---|---|
226 return; | 226 return; |
227 } | 227 } |
228 #ifdef ASSERT | 228 #ifdef ASSERT |
229 if (LogSweeper && _records == NULL) { | 229 if (LogSweeper && _records == NULL) { |
230 // Create the ring buffer for the logging code | 230 // Create the ring buffer for the logging code |
231 _records = NEW_C_HEAP_ARRAY(SweeperRecord, SweeperLogEntries); | 231 _records = NEW_C_HEAP_ARRAY(SweeperRecord, SweeperLogEntries, mtGC); |
232 memset(_records, 0, sizeof(SweeperRecord) * SweeperLogEntries); | 232 memset(_records, 0, sizeof(SweeperRecord) * SweeperLogEntries); |
233 } | 233 } |
234 #endif | 234 #endif |
235 if (_invocations > 0) { | 235 if (_invocations > 0) { |
236 sweep_code_cache(); | 236 sweep_code_cache(); |