--- 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);
}