1.1 --- a/src/share/vm/shark/sharkInliner.cpp Fri Jan 11 16:47:23 2013 -0800 1.2 +++ b/src/share/vm/shark/sharkInliner.cpp Fri Jan 11 16:47:23 2013 -0800 1.3 @@ -725,7 +725,7 @@ 1.4 // Push the result if necessary 1.5 if (is_get) { 1.6 bool result_pushed = false; 1.7 - if (field->is_constant()) { 1.8 + if (field->is_constant() && field->is_static()) { 1.9 SharkConstant *sc = SharkConstant::for_field(iter()); 1.10 if (sc->is_loaded()) { 1.11 push(sc->is_nonzero());