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(); |