# HG changeset patch # User gromero # Date 1536075983 14400 # Node ID 78c7f0c7827d1be7199fd49bc594b74ff653a139 # Parent 507c7258084258f8b1264fff1e1943ecab2d4797 8210320: PPC64: Fix uninitialized variable in C1 LIR assembler code Reviewed-by: mbaesken, shade, mdoerr diff -r 507c72580842 -r 78c7f0c7827d src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp --- a/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp Tue Sep 04 13:19:38 2018 +0200 +++ b/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp Tue Sep 04 11:46:23 2018 -0400 @@ -2396,8 +2396,8 @@ if (reg_conflict) { obj = dst; } } - ciMethodData* md; - ciProfileData* data; + ciMethodData* md = NULL; + ciProfileData* data = NULL; int mdo_offset_bias = 0; if (should_profile) { ciMethod* method = op->profiled_method(); @@ -2514,8 +2514,8 @@ __ verify_oop(value); CodeStub* stub = op->stub(); // Check if it needs to be profiled. - ciMethodData* md; - ciProfileData* data; + ciMethodData* md = NULL; + ciProfileData* data = NULL; int mdo_offset_bias = 0; if (should_profile) { ciMethod* method = op->profiled_method();