src/share/vm/runtime/safepoint.cpp

changeset 8316
626f594dffa6
parent 8199
5d96c022391c
child 8604
04d83ba48607
child 9327
f96fcd9e1e1b
     1.1 --- a/src/share/vm/runtime/safepoint.cpp	Thu Feb 18 16:15:28 2016 +0100
     1.2 +++ b/src/share/vm/runtime/safepoint.cpp	Tue Mar 01 12:50:37 2016 +0530
     1.3 @@ -142,7 +142,7 @@
     1.4  
     1.5    // Save the starting time, so that it can be compared to see if this has taken
     1.6    // too long to complete.
     1.7 -  jlong safepoint_limit_time;
     1.8 +  jlong safepoint_limit_time = 0;
     1.9    timeout_error_printed = false;
    1.10  
    1.11    // PrintSafepointStatisticsTimeout can be specified separately. When
    1.12 @@ -925,7 +925,7 @@
    1.13  
    1.14  
    1.15  void ThreadSafepointState::print_on(outputStream *st) const {
    1.16 -  const char *s;
    1.17 +  const char *s = NULL;
    1.18  
    1.19    switch(_type) {
    1.20      case _running                : s = "_running";              break;

mercurial