equal
deleted
inserted
replaced
115 int klass_index, |
115 int klass_index, |
116 bool& is_accessible, |
116 bool& is_accessible, |
117 Klass* loading_klass); |
117 Klass* loading_klass); |
118 static void get_field_by_index_impl(InstanceKlass* loading_klass, fieldDescriptor& fd, |
118 static void get_field_by_index_impl(InstanceKlass* loading_klass, fieldDescriptor& fd, |
119 int field_index); |
119 int field_index); |
120 static methodHandle get_method_by_index_impl(const constantPoolHandle& cpool, |
120 static Method* get_method_by_index_impl(const constantPoolHandle& cpool, |
121 int method_index, Bytecodes::Code bc, |
121 int method_index, Bytecodes::Code bc, |
122 InstanceKlass* loading_klass); |
122 InstanceKlass* loading_klass); |
123 |
123 |
124 // Helper methods |
124 // Helper methods |
125 static bool check_klass_accessibility(Klass* accessing_klass, Klass* resolved_klass); |
125 static bool check_klass_accessibility(Klass* accessing_klass, Klass* resolved_klass); |
126 static methodHandle lookup_method(InstanceKlass* accessor, |
126 static Method* lookup_method(InstanceKlass* accessor, |
127 Klass* holder, |
127 Klass* holder, |
128 Symbol* name, |
128 Symbol* name, |
129 Symbol* sig, |
129 Symbol* sig, |
130 Bytecodes::Code bc, |
130 Bytecodes::Code bc, |
131 constantTag tag); |
131 constantTag tag); |
132 |
132 |
133 public: |
133 public: |
134 JVMCIRuntime() { |
134 JVMCIRuntime() { |
135 _initialized = false; |
135 _initialized = false; |
136 _being_initialized = false; |
136 _being_initialized = false; |
192 int klass_index, |
192 int klass_index, |
193 bool& is_accessible, |
193 bool& is_accessible, |
194 Klass* loading_klass); |
194 Klass* loading_klass); |
195 static void get_field_by_index(InstanceKlass* loading_klass, fieldDescriptor& fd, |
195 static void get_field_by_index(InstanceKlass* loading_klass, fieldDescriptor& fd, |
196 int field_index); |
196 int field_index); |
197 static methodHandle get_method_by_index(const constantPoolHandle& cpool, |
197 static Method* get_method_by_index(const constantPoolHandle& cpool, |
198 int method_index, Bytecodes::Code bc, |
198 int method_index, Bytecodes::Code bc, |
199 InstanceKlass* loading_klass); |
199 InstanceKlass* loading_klass); |
200 |
200 |
201 // converts the Klass* representing the holder of a method into a |
201 // converts the Klass* representing the holder of a method into a |
202 // InstanceKlass*. This is needed since the holder of a method in |
202 // InstanceKlass*. This is needed since the holder of a method in |
203 // the bytecodes could be an array type. Basically this converts |
203 // the bytecodes could be an array type. Basically this converts |
204 // array types into java/lang/Object and other types stay as they are. |
204 // array types into java/lang/Object and other types stay as they are. |