7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint
Reviewed-by: sspitsyn, dcubed, mchung, dholmes
--- 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;
}