1.1 --- a/src/share/vm/opto/escape.cpp Wed Nov 04 14:16:20 2009 -0800 1.2 +++ b/src/share/vm/opto/escape.cpp Wed Nov 04 14:43:50 2009 -0800 1.3 @@ -537,8 +537,9 @@ 1.4 } 1.5 1.6 const TypeOopPtr *tinst = base_t->add_offset(t->offset())->is_oopptr(); 1.7 - // Do NOT remove the next call: ensure an new alias index is allocated 1.8 - // for the instance type 1.9 + // Do NOT remove the next line: ensure a new alias index is allocated 1.10 + // for the instance type. Note: C++ will not remove it since the call 1.11 + // has side effect. 1.12 int alias_idx = _compile->get_alias_index(tinst); 1.13 igvn->set_type(addp, tinst); 1.14 // record the allocation in the node map