8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04

Reviewed-by: dholmes, kvn, vlivanov
This commit is contained in:
Phil Race 2017-03-24 08:56:04 -07:00
parent bfc496ec64
commit 5506a3b126

View File

@ -2372,7 +2372,7 @@ bool LibraryCallKit::inline_unsafe_access(bool is_store, const BasicType type, c
// the barriers get omitted and the unsafe reference begins to "pollute"
// the alias analysis of the rest of the graph, either Compile::can_alias
// or Compile::must_alias will throw a diagnostic assert.)
bool need_mem_bar;
bool need_mem_bar = false;
switch (kind) {
case Relaxed:
need_mem_bar = mismatched && !adr_type->isa_aryptr();