changeset 17383 | 3665c0901a0d |
parent 17000 | 11bf92e571a2 |
child 20695 | 4f5a5e95090b |
--- a/hotspot/src/share/vm/opto/parseHelper.cpp Mon May 06 19:49:23 2013 -0700 +++ b/hotspot/src/share/vm/opto/parseHelper.cpp Wed May 08 15:08:01 2013 -0700 @@ -284,6 +284,11 @@ klass == C->env()->StringBuffer_klass())) { C->set_has_stringbuilder(true); } + + // Keep track of boxed values for EliminateAutoBox optimizations. + if (C->eliminate_boxing() && klass->is_box_klass()) { + C->set_has_boxed_value(true); + } } #ifndef PRODUCT