comparison src/share/vm/ci/ciEnv.cpp @ 20469:dd89808e49ba

8049530: Provide descriptive failure reason for compilation tasks removed for the queue Reviewed-by: roland, iveresov
author vlivanov
date Mon, 14 Jul 2014 03:26:52 -0700
parents 833b0f92429a
children 9dc314de223d
comparison
equal deleted inserted replaced
20468:1de115720e74 20469:dd89808e49ba
1110 } 1110 }
1111 1111
1112 // ------------------------------------------------------------------ 1112 // ------------------------------------------------------------------
1113 // ciEnv::record_failure() 1113 // ciEnv::record_failure()
1114 void ciEnv::record_failure(const char* reason) { 1114 void ciEnv::record_failure(const char* reason) {
1115 if (log() != NULL) {
1116 log()->elem("failure reason='%s'", reason);
1117 }
1118 if (_failure_reason == NULL) { 1115 if (_failure_reason == NULL) {
1119 // Record the first failure reason. 1116 // Record the first failure reason.
1120 _failure_reason = reason; 1117 _failure_reason = reason;
1121 } 1118 }
1122 } 1119 }