8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux

Reviewed-by: stuefe, coleenp, roland
This commit is contained in:
Goetz Lindenmaier 2015-10-22 13:07:10 -04:00
parent f21d1afd70
commit 83b3b21342
40 changed files with 129 additions and 124 deletions

View file

@ -3823,8 +3823,8 @@ bool GraphBuilder::try_inline_full(ciMethod* callee, bool holder_known, Bytecode
caller_state->truncate_stack(args_base);
assert(callee_state->stack_size() == 0, "callee stack must be empty");
Value lock;
BlockBegin* sync_handler;
Value lock = NULL;
BlockBegin* sync_handler = NULL;
// Inline the locking of the receiver if the callee is synchronized
if (callee->is_synchronized()) {