Mercurial > hg > truffle
comparison src/share/vm/ci/ciMethod.hpp @ 1152:cd37471eaecc
6914206: change way of permission checking for generated MethodHandle adapters
Summary: Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.
Reviewed-by: kvn, never, jrose
author | twisti |
---|---|
date | Fri, 08 Jan 2010 11:09:46 +0100 |
parents | dd57230ba8fe |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1151:1271af4ec18c | 1152:cd37471eaecc |
---|---|
1 /* | 1 /* |
2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1999-2010 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. |
213 bool has_unloaded_classes_in_signature(); | 213 bool has_unloaded_classes_in_signature(); |
214 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; | 214 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; |
215 bool check_call(int refinfo_index, bool is_static) const; | 215 bool check_call(int refinfo_index, bool is_static) const; |
216 void build_method_data(); // make sure it exists in the VM also | 216 void build_method_data(); // make sure it exists in the VM also |
217 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC | 217 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC |
218 bool is_method_handle_invoke() const; | 218 |
219 // JSR 292 support | |
220 bool is_method_handle_invoke() const; | |
221 bool is_method_handle_adapter() const; | |
219 ciInstance* method_handle_type(); | 222 ciInstance* method_handle_type(); |
220 | 223 |
221 // What kind of ciObject is this? | 224 // What kind of ciObject is this? |
222 bool is_method() { return true; } | 225 bool is_method() { return true; } |
223 | 226 |