7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
authorfparain
Thu, 05 Jan 2012 07:26:44 -0800
changeset 11420 22ec1bad0dce
parent 11419 af92c7669f5a
child 11422 fcd6a1948f57
7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint Reviewed-by: sspitsyn, dcubed, mchung, dholmes
hotspot/src/share/vm/services/threadService.cpp
--- a/hotspot/src/share/vm/services/threadService.cpp	Thu Jan 05 06:24:52 2012 -0800
+++ b/hotspot/src/share/vm/services/threadService.cpp	Thu Jan 05 07:26:44 2012 -0800
@@ -377,7 +377,7 @@
     }
 
   }
-
+  delete cycle;
   return deadlocks;
 }