changeset 12704:bb104b4b64dc

8177346: hotspot change for 8176513 breaks jdk9 build on Ubuntu 16.04 Reviewed-by: dholmes, kvn, vlivanov
author prr
date Fri, 24 Mar 2017 08:56:04 -0700
parents 24599756cbef
children 015084c7ef97
files src/share/vm/opto/library_call.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp	Thu Mar 23 22:57:41 2017 +0000
+++ b/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();