1.1 --- a/src/share/vm/opto/macro.cpp Thu Feb 18 16:15:28 2016 +0100 1.2 +++ b/src/share/vm/opto/macro.cpp Tue Mar 01 12:50:37 2016 +0530 1.3 @@ -693,10 +693,10 @@ 1.4 ciKlass* klass = NULL; 1.5 ciInstanceKlass* iklass = NULL; 1.6 int nfields = 0; 1.7 - int array_base; 1.8 - int element_size; 1.9 - BasicType basic_elem_type; 1.10 - ciType* elem_type; 1.11 + int array_base = 0; 1.12 + int element_size = 0; 1.13 + BasicType basic_elem_type = T_ILLEGAL; 1.14 + ciType* elem_type = NULL; 1.15 1.16 Node* res = alloc->result_cast(); 1.17 assert(res == NULL || res->is_CheckCastPP(), "unexpected AllocateNode result"); 1.18 @@ -1177,10 +1177,10 @@ 1.19 // We need a Region and corresponding Phi's to merge the slow-path and fast-path results. 1.20 // they will not be used if "always_slow" is set 1.21 enum { slow_result_path = 1, fast_result_path = 2 }; 1.22 - Node *result_region; 1.23 - Node *result_phi_rawmem; 1.24 - Node *result_phi_rawoop; 1.25 - Node *result_phi_i_o; 1.26 + Node *result_region = NULL; 1.27 + Node *result_phi_rawmem = NULL; 1.28 + Node *result_phi_rawoop = NULL; 1.29 + Node *result_phi_i_o = NULL; 1.30 1.31 // The initial slow comparison is a size check, the comparison 1.32 // we want to do is a BoolTest::gt