# HG changeset patch # User prr # Date 1490370964 25200 # Node ID 4e76a9a3b7a83664edd7194ceac2dfaa6429f0a9 # Parent c8a4180a460bc918b7848150097df15a7fae70c8 8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04 Reviewed-by: dholmes, kvn, vlivanov diff -r c8a4180a460b -r 4e76a9a3b7a8 hotspot/src/share/vm/opto/library_call.cpp --- a/hotspot/src/share/vm/opto/library_call.cpp Thu Mar 23 22:57:41 2017 +0000 +++ b/hotspot/src/share/vm/opto/library_call.cpp Fri Mar 24 08:56:04 2017 -0700 @@ -2372,7 +2372,7 @@ // 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();