diff -r 2f8db587e1fc -r 626f594dffa6 src/share/vm/runtime/safepoint.cpp --- a/src/share/vm/runtime/safepoint.cpp Thu Feb 18 16:15:28 2016 +0100 +++ b/src/share/vm/runtime/safepoint.cpp Tue Mar 01 12:50:37 2016 +0530 @@ -142,7 +142,7 @@ // Save the starting time, so that it can be compared to see if this has taken // too long to complete. - jlong safepoint_limit_time; + jlong safepoint_limit_time = 0; timeout_error_printed = false; // PrintSafepointStatisticsTimeout can be specified separately. When @@ -925,7 +925,7 @@ void ThreadSafepointState::print_on(outputStream *st) const { - const char *s; + const char *s = NULL; switch(_type) { case _running : s = "_running"; break;