equal
deleted
inserted
replaced
1649 if (fp != NULL) { |
1649 if (fp != NULL) { |
1650 if (LogCompilation && Verbose) { |
1650 if (LogCompilation && Verbose) { |
1651 tty->print_cr("Opening compilation log %s", file_name); |
1651 tty->print_cr("Opening compilation log %s", file_name); |
1652 } |
1652 } |
1653 CompileLog* log = new(ResourceObj::C_HEAP, mtCompiler) CompileLog(file_name, fp, thread_id); |
1653 CompileLog* log = new(ResourceObj::C_HEAP, mtCompiler) CompileLog(file_name, fp, thread_id); |
|
1654 if (log == NULL) { |
|
1655 fclose(fp); |
|
1656 return; |
|
1657 } |
1654 thread->init_log(log); |
1658 thread->init_log(log); |
1655 |
1659 |
1656 if (xtty != NULL) { |
1660 if (xtty != NULL) { |
1657 ttyLocker ttyl; |
1661 ttyLocker ttyl; |
1658 // Record any per thread log files |
1662 // Record any per thread log files |