mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6894206: JVM needs a way to traverse method handle structures
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers. Reviewed-by: kvn
This commit is contained in:
parent
915d9602fe
commit
3a896a1408
8 changed files with 1241 additions and 58 deletions
|
@ -2403,6 +2403,10 @@ oop java_dyn_MethodType::ptype(oop mt, int idx) {
|
|||
return ptypes(mt)->obj_at(idx);
|
||||
}
|
||||
|
||||
int java_dyn_MethodType::ptype_count(oop mt) {
|
||||
return ptypes(mt)->length();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Support for java_dyn_MethodTypeForm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue