< prev index next >
src/share/vm/runtime/safepoint.cpp
Print this page
rev 9081 : imported patch more.patch
@@ -122,11 +122,11 @@
TryingToBlock = 0 ;
int still_running = nof_threads;
// 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
// specified, PrintSafepointStatistics will be set to true in
// deferred_initialize_stat method. The initialization has to be done
@@ -901,11 +901,11 @@
set_has_called_back(false);
}
void ThreadSafepointState::print_on(outputStream *st) const {
- const char *s;
+ const char *s = NULL;
switch(_type) {
case _running : s = "_running"; break;
case _at_safepoint : s = "_at_safepoint"; break;
case _call_back : s = "_call_back"; break;
< prev index next >