hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 36835 999bfb0219d6
parent 36807 539a2817f0b4
child 37281 c4e7456d6ae1
child 37267 ad8c0e8de29f
equal deleted inserted replaced
36834:fc007081f4f1 36835:999bfb0219d6
  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