changeset 2946:8a63c6323842

7125594: C-heap growth issue in ThreadService::find_deadlocks_at_safepoint Reviewed-by: sspitsyn, dcubed, mchung, dholmes
author fparain
date Thu, 05 Jan 2012 07:26:44 -0800
parents 5b58979183f9
children 66259eca2bf7
files src/share/vm/services/threadService.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/services/threadService.cpp	Thu Jan 05 06:24:52 2012 -0800
+++ b/src/share/vm/services/threadService.cpp	Thu Jan 05 07:26:44 2012 -0800
@@ -377,7 +377,7 @@
     }
 
   }
-
+  delete cycle;
   return deadlocks;
 }