< prev index next >
src/hotspot/cpu/x86/interp_masm_x86.cpp
Print this page
@@ -1433,14 +1433,14 @@
}
void InterpreterMacroAssembler::set_mdp_flag_at(Register mdp_in,
int flag_byte_constant) {
assert(ProfileInterpreter, "must be profiling interpreter");
- int header_offset = in_bytes(DataLayout::header_offset());
- int header_bits = DataLayout::flag_mask_to_header_mask(flag_byte_constant);
+ int header_offset = in_bytes(DataLayout::flags_offset());
+ int header_bits = flag_byte_constant;
// Set the flag
- orl(Address(mdp_in, header_offset), header_bits);
+ orb(Address(mdp_in, header_offset), header_bits);
}
void InterpreterMacroAssembler::test_mdp_data_at(Register mdp_in,
< prev index next >