mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6851908: interpreter null check profiling broken causing extra compilation invalidation
Reviewed-by: kvn
This commit is contained in:
parent
3bdd70fe18
commit
986d570981
2 changed files with 4 additions and 0 deletions
|
@ -1372,6 +1372,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) {
|
|||
// 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) {
|
||||
|
|
|
@ -1409,6 +1409,8 @@ void InterpreterMacroAssembler::profile_null_seen(Register mdp) {
|
|||
// 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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue