hotspot/src/share/vm/runtime/sweeper.cpp
changeset 13195 be27e1b6a4b9
parent 11789 2ff80dcfc1cf
child 13728 882756847a04
--- a/hotspot/src/share/vm/runtime/sweeper.cpp	Wed Jun 27 15:23:36 2012 +0200
+++ b/hotspot/src/share/vm/runtime/sweeper.cpp	Thu Jun 28 17:03:16 2012 -0400
@@ -228,7 +228,7 @@
 #ifdef ASSERT
     if (LogSweeper && _records == NULL) {
       // Create the ring buffer for the logging code
-      _records = NEW_C_HEAP_ARRAY(SweeperRecord, SweeperLogEntries);
+      _records = NEW_C_HEAP_ARRAY(SweeperRecord, SweeperLogEntries, mtGC);
       memset(_records, 0, sizeof(SweeperRecord) * SweeperLogEntries);
     }
 #endif