hotspot/src/share/vm/compiler/compileLog.cpp
changeset 27883 3179632c8f66
parent 27709 e6f02d6fee44
parent 27880 afb974a04396
child 31409 e73d834e5b49
--- a/hotspot/src/share/vm/compiler/compileLog.cpp	Wed Nov 26 20:38:10 2014 -0500
+++ b/hotspot/src/share/vm/compiler/compileLog.cpp	Wed Dec 03 20:32:33 2014 -0800
@@ -58,10 +58,8 @@
 CompileLog::~CompileLog() {
   delete _out; // Close fd in fileStream::~fileStream()
   _out = NULL;
-  // Remove partial file after merging in CompileLog::finish_log_on_error
-  unlink(_file);
-  FREE_C_HEAP_ARRAY(char, _identities, mtCompiler);
-  FREE_C_HEAP_ARRAY(char, _file, mtCompiler);
+  FREE_C_HEAP_ARRAY(char, _identities);
+  FREE_C_HEAP_ARRAY(char, _file);
 }