8187078: -XX:+VerifyOops finds numerous problems when running JPRT

Reviewed-by: kvn
This commit is contained in:
Dean Long 2018-09-05 13:10:40 -07:00
parent cbac17e494
commit e51b1f0cf6
3 changed files with 3 additions and 3 deletions

View file

@ -3218,7 +3218,7 @@ void LIRGenerator::profile_parameters_at_call(ProfileCall* x) {
void LIRGenerator::do_ProfileCall(ProfileCall* x) {
// Need recv in a temporary register so it interferes with the other temporaries
LIR_Opr recv = LIR_OprFact::illegalOpr;
LIR_Opr mdo = new_register(T_OBJECT);
LIR_Opr mdo = new_register(T_METADATA);
// tmp is used to hold the counters on SPARC
LIR_Opr tmp = new_pointer_register();