hotspot/src/share/vm/ci/ciEnv.cpp
changeset 25642 9d809ea074d9
parent 25325 e3af4e02b0d5
child 25946 1572c9f03fb9
equal deleted inserted replaced
25641:d99065e4572b 25642:9d809ea074d9
  1123 }
  1123 }
  1124 
  1124 
  1125 // ------------------------------------------------------------------
  1125 // ------------------------------------------------------------------
  1126 // ciEnv::record_failure()
  1126 // ciEnv::record_failure()
  1127 void ciEnv::record_failure(const char* reason) {
  1127 void ciEnv::record_failure(const char* reason) {
  1128   if (log() != NULL) {
       
  1129     log()->elem("failure reason='%s'", reason);
       
  1130   }
       
  1131   if (_failure_reason == NULL) {
  1128   if (_failure_reason == NULL) {
  1132     // Record the first failure reason.
  1129     // Record the first failure reason.
  1133     _failure_reason = reason;
  1130     _failure_reason = reason;
  1134   }
  1131   }
  1135 }
  1132 }