Fri, 26 Jun 2009 16:14:31 -0700
6851908: interpreter null check profiling broken causing extra compilation invalidation
Reviewed-by: kvn
src/cpu/x86/vm/interp_masm_x86_32.cpp | file | annotate | diff | comparison | revisions | |
src/cpu/x86/vm/interp_masm_x86_64.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cpu/x86/vm/interp_masm_x86_32.cpp Fri Jun 26 13:03:29 2009 -0700 1.2 +++ b/src/cpu/x86/vm/interp_masm_x86_32.cpp Fri Jun 26 16:14:31 2009 -0700 1.3 @@ -1372,6 +1372,8 @@ 1.4 // If no method data exists, go to profile_continue. 1.5 test_method_data_pointer(mdp, profile_continue); 1.6 1.7 + set_mdp_flag_at(mdp, BitData::null_seen_byte_constant()); 1.8 + 1.9 // The method data pointer needs to be updated. 1.10 int mdp_delta = in_bytes(BitData::bit_data_size()); 1.11 if (TypeProfileCasts) {
2.1 --- a/src/cpu/x86/vm/interp_masm_x86_64.cpp Fri Jun 26 13:03:29 2009 -0700 2.2 +++ b/src/cpu/x86/vm/interp_masm_x86_64.cpp Fri Jun 26 16:14:31 2009 -0700 2.3 @@ -1409,6 +1409,8 @@ 2.4 // If no method data exists, go to profile_continue. 2.5 test_method_data_pointer(mdp, profile_continue); 2.6 2.7 + set_mdp_flag_at(mdp, BitData::null_seen_byte_constant()); 2.8 + 2.9 // The method data pointer needs to be updated. 2.10 int mdp_delta = in_bytes(BitData::bit_data_size()); 2.11 if (TypeProfileCasts) {