comparison src/share/vm/classfile/javaClasses.cpp @ 1133:aa62b9388fce

6894206: JVM needs a way to traverse method handle structures Summary: 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
author twisti
date Mon, 04 Jan 2010 15:52:40 +0100
parents 84a2da7f454c
children 4ce7240d622c
comparison
equal deleted inserted replaced
1131:40e7c1d24e4a 1133:aa62b9388fce
2399 return mt->obj_field(_form_offset); 2399 return mt->obj_field(_form_offset);
2400 } 2400 }
2401 2401
2402 oop java_dyn_MethodType::ptype(oop mt, int idx) { 2402 oop java_dyn_MethodType::ptype(oop mt, int idx) {
2403 return ptypes(mt)->obj_at(idx); 2403 return ptypes(mt)->obj_at(idx);
2404 }
2405
2406 int java_dyn_MethodType::ptype_count(oop mt) {
2407 return ptypes(mt)->length();
2404 } 2408 }
2405 2409
2406 2410
2407 2411
2408 // Support for java_dyn_MethodTypeForm 2412 // Support for java_dyn_MethodTypeForm