8259316: [REDO] C1/C2 compiler support for blackholes

Reviewed-by: vlivanov, kvn, iignatyev
This commit is contained in:
Aleksey Shipilev 2021-05-05 14:27:21 +00:00
parent f07bb2f4b9
commit 6018336fc5
32 changed files with 1167 additions and 6 deletions

View file

@ -5304,6 +5304,11 @@ static void check_methods_for_intrinsics(const InstanceKlass* ik,
// is defined for it.
continue;
}
if (vmIntrinsics::_blackhole == id) {
// The _blackhole intrinsic is a special marker. No explicit method
// is defined for it.
continue;
}
if (vmIntrinsics::class_for(id) == klass_id) {
// Check if the current class contains a method with the same