8230019: [REDO] compiler/types/correctness/* tests fail with "assert(recv == __null || recv->is_klass()) failed: wrong type"

Explicitly set the receiver klass in the ci MDO to NULL if it is NULL in the MDO while translating.

Reviewed-by: kvn, thartmann
This commit is contained in:
Christian Hagedorn 2019-10-29 14:29:40 +01:00
parent c7acea028c
commit 6df28153fd
2 changed files with 4 additions and 2 deletions

View File

@ -266,6 +266,8 @@ void ciReceiverTypeData::translate_receiver_data_from(const ProfileData* data) {
// With concurrent class unloading, the MDO could have stale metadata; override it
clear_row(row);
}
} else {
set_receiver(row, NULL);
}
}
}

View File

@ -50,8 +50,8 @@ compiler/jvmci/compilerToVM/GetResolvedJavaTypeTest.java 8158860 generic-all
compiler/jvmci/compilerToVM/InvalidateInstalledCodeTest.java 8163894 generic-all
compiler/tiered/LevelTransitionTest.java 8067651 generic-all
compiler/types/correctness/CorrectnessTest.java 8230019,8225620 generic-all,solaris-sparcv9
compiler/types/correctness/OffTest.java 8230019,8225620 generic-all,solaris-sparcv9
compiler/types/correctness/CorrectnessTest.java 8225620 solaris-sparcv9
compiler/types/correctness/OffTest.java 8225620 solaris-sparcv9
compiler/c2/Test6852078.java 8194310 generic-all
compiler/c2/Test8004741.java 8214904 generic-all