comparison src/share/vm/ci/ciMethod.hpp @ 710:e5b0439ef4ae

6655638: dynamic languages need method handles Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.) Reviewed-by: kvn, twisti, never
author jrose
date Wed, 08 Apr 2009 10:56:49 -0700
parents a61af66fc99e
children 3a2aa26bdc58
comparison
equal deleted inserted replaced
709:1d037ecd7960 710:e5b0439ef4ae
1 /* 1 /*
2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
205 bool has_unloaded_classes_in_signature(); 205 bool has_unloaded_classes_in_signature();
206 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; 206 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
207 bool check_call(int refinfo_index, bool is_static) const; 207 bool check_call(int refinfo_index, bool is_static) const;
208 void build_method_data(); // make sure it exists in the VM also 208 void build_method_data(); // make sure it exists in the VM also
209 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC 209 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC
210 bool is_method_handle_invoke();
211 ciInstance* method_handle_type();
210 212
211 // What kind of ciObject is this? 213 // What kind of ciObject is this?
212 bool is_method() { return true; } 214 bool is_method() { return true; }
213 215
214 // Java access flags 216 // Java access flags