8264731: Introduce InstanceKlass::method_at_itable_or_null()

Reviewed-by: coleenp, dholmes
This commit is contained in:
Vladimir Ivanov 2021-04-07 21:07:12 +00:00
parent 22b20f8e92
commit 6e2b82a45f
3 changed files with 39 additions and 32 deletions

View file

@ -1108,7 +1108,8 @@ public:
// Java itable
klassItable itable() const; // return klassItable wrapper
Method* method_at_itable(Klass* holder, int index, TRAPS);
Method* method_at_itable(InstanceKlass* holder, int index, TRAPS);
Method* method_at_itable_or_null(InstanceKlass* holder, int index, bool& itable_entry_found);
#if INCLUDE_JVMTI
void adjust_default_methods(bool* trace_name_printed);