hotspot/src/share/vm/opto/compile.cpp
changeset 27706 3f10f4ac2bd6
parent 27420 04e6f914cce1
child 27707 f7d26e5b8b5d
equal deleted inserted replaced
27705:a81a28a9bc8a 27706:3f10f4ac2bd6
    65 #include "opto/vectornode.hpp"
    65 #include "opto/vectornode.hpp"
    66 #include "runtime/arguments.hpp"
    66 #include "runtime/arguments.hpp"
    67 #include "runtime/signature.hpp"
    67 #include "runtime/signature.hpp"
    68 #include "runtime/stubRoutines.hpp"
    68 #include "runtime/stubRoutines.hpp"
    69 #include "runtime/timer.hpp"
    69 #include "runtime/timer.hpp"
    70 #include "trace/tracing.hpp"
       
    71 #include "utilities/copy.hpp"
    70 #include "utilities/copy.hpp"
    72 
    71 
    73 
    72 
    74 // -------------------- Compile::mach_constant_base_node -----------------------
    73 // -------------------- Compile::mach_constant_base_node -----------------------
    75 // Constant table base node singleton.
    74 // Constant table base node singleton.
  3540   if (_failure_reason == NULL) {
  3539   if (_failure_reason == NULL) {
  3541     // Record the first failure reason.
  3540     // Record the first failure reason.
  3542     _failure_reason = reason;
  3541     _failure_reason = reason;
  3543   }
  3542   }
  3544 
  3543 
  3545   EventCompilerFailure event;
       
  3546   if (event.should_commit()) {
       
  3547     event.set_compileID(Compile::compile_id());
       
  3548     event.set_failure(reason);
       
  3549     event.commit();
       
  3550   }
       
  3551 
       
  3552   if (!C->failure_reason_is(C2Compiler::retry_no_subsuming_loads())) {
  3544   if (!C->failure_reason_is(C2Compiler::retry_no_subsuming_loads())) {
  3553     C->print_method(PHASE_FAILURE);
  3545     C->print_method(PHASE_FAILURE);
  3554   }
  3546   }
  3555   _root = NULL;  // flush the graph, too
  3547   _root = NULL;  // flush the graph, too
  3556 }
  3548 }