提交 95f21e03 编写于 作者: N never

6851908: interpreter null check profiling broken causing extra compilation invalidation

Reviewed-by: kvn
上级 a1b799a8
...@@ -1372,6 +1372,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) { ...@@ -1372,6 +1372,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) {
// If no method data exists, go to profile_continue. // If no method data exists, go to profile_continue.
test_method_data_pointer(mdp, 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. // The method data pointer needs to be updated.
int mdp_delta = in_bytes(BitData::bit_data_size()); int mdp_delta = in_bytes(BitData::bit_data_size());
if (TypeProfileCasts) { if (TypeProfileCasts) {
......
...@@ -1409,6 +1409,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) { ...@@ -1409,6 +1409,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) {
// If no method data exists, go to profile_continue. // If no method data exists, go to profile_continue.
test_method_data_pointer(mdp, 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. // The method data pointer needs to be updated.
int mdp_delta = in_bytes(BitData::bit_data_size()); int mdp_delta = in_bytes(BitData::bit_data_size());
if (TypeProfileCasts) { if (TypeProfileCasts) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册