8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04
authorprr
Fri, 24 Mar 2017 08:56:04 -0700
changeset 44329 4e76a9a3b7a8
parent 44328 c8a4180a460b
child 44330 aaa5ce0d9d01
8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04 Reviewed-by: dholmes, kvn, vlivanov
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();