mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
This commit is contained in:
parent
f21d1afd70
commit
83b3b21342
40 changed files with 129 additions and 124 deletions
|
@ -122,7 +122,7 @@ void SafepointSynchronize::begin() {
|
|||
|
||||
// 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
|
||||
|
@ -901,7 +901,7 @@ void ThreadSafepointState::restart() {
|
|||
|
||||
|
||||
void ThreadSafepointState::print_on(outputStream *st) const {
|
||||
const char *s;
|
||||
const char *s = NULL;
|
||||
|
||||
switch(_type) {
|
||||
case _running : s = "_running"; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue