src/share/vm/runtime/sweeper.cpp

changeset 3900
d2a62e0f25eb
parent 3572
cfdfbeac0a5b
child 4037
da91efe96a93
equal deleted inserted replaced
3877:74533f63b116 3900:d2a62e0f25eb
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();

mercurial