changeset 3179:e9442e207d31

6851908: interpreter null check profiling broken causing extra compilation invalidation Reviewed-by: kvn
author never
date Fri, 26 Jun 2009 16:14:31 -0700
parents 596a9ab2a92d
children c589129153a4
files hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp hotspot/src/cpu/x86/vm/interp_masm_x86_64.cpp
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp	Fri Jun 26 13:03:29 2009 -0700
+++ b/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp	Fri Jun 26 16:14:31 2009 -0700
@@ -1372,6 +1372,8 @@
     // If no method data exists, go to profile_continue.
     test_method_data_pointer(mdp, profile_continue);
 
+    set_mdp_flag_at(mdp, BitData::null_seen_byte_constant());
+
     // The method data pointer needs to be updated.
     int mdp_delta = in_bytes(BitData::bit_data_size());
     if (TypeProfileCasts) {
--- a/hotspot/src/cpu/x86/vm/interp_masm_x86_64.cpp	Fri Jun 26 13:03:29 2009 -0700
+++ b/hotspot/src/cpu/x86/vm/interp_masm_x86_64.cpp	Fri Jun 26 16:14:31 2009 -0700
@@ -1409,6 +1409,8 @@
     // If no method data exists, go to profile_continue.
     test_method_data_pointer(mdp, profile_continue);
 
+    set_mdp_flag_at(mdp, BitData::null_seen_byte_constant());
+
     // The method data pointer needs to be updated.
     int mdp_delta = in_bytes(BitData::bit_data_size());
     if (TypeProfileCasts) {