8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8

8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8

Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
This commit is contained in:
Jesper Wilhelmsson 2017-07-06 01:50:26 +02:00
parent eb20e62194
commit efd1054686
142 changed files with 787 additions and 526 deletions

View file

@ -1129,6 +1129,8 @@ Handle SharedRuntime::find_callee_info_helper(JavaThread* thread,
: Bytecodes::_invokevirtual;
}
break;
default:
break;
}
}
} else {
@ -1379,7 +1381,7 @@ methodHandle SharedRuntime::resolve_sub_helper(JavaThread *thread,
// which may happen when multiply alive nmethod (tiered compilation)
// will be supported.
if (!callee_method->is_old() &&
(callee == NULL || callee->is_in_use() && (callee_method->code() == callee))) {
(callee == NULL || (callee->is_in_use() && callee_method->code() == callee))) {
#ifdef ASSERT
// We must not try to patch to jump to an already unloaded method.
if (dest_entry_point != 0) {
@ -3168,4 +3170,3 @@ frame SharedRuntime::look_for_reserved_stack_annotated_method(JavaThread* thread
}
return activation;
}