Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/systemDictionary.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 | 4ce7240d622c |
children | 760213a60e8b cd5dbf694d45 |
comparison
equal
deleted
inserted
replaced
1151:1271af4ec18c | 1152:cd37471eaecc |
---|---|
1 /* | 1 /* |
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1997-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. |
143 template(MethodTypeForm_klass, java_dyn_MethodTypeForm, Opt) \ | 143 template(MethodTypeForm_klass, java_dyn_MethodTypeForm, Opt) \ |
144 template(WrongMethodTypeException_klass, java_dyn_WrongMethodTypeException, Opt) \ | 144 template(WrongMethodTypeException_klass, java_dyn_WrongMethodTypeException, Opt) \ |
145 template(Linkage_klass, java_dyn_Linkage, Opt) \ | 145 template(Linkage_klass, java_dyn_Linkage, Opt) \ |
146 template(CallSite_klass, java_dyn_CallSite, Opt) \ | 146 template(CallSite_klass, java_dyn_CallSite, Opt) \ |
147 template(InvokeDynamic_klass, java_dyn_InvokeDynamic, Opt) \ | 147 template(InvokeDynamic_klass, java_dyn_InvokeDynamic, Opt) \ |
148 /* Note: MethodHandle must be first, and Dynamic last in group */ \ | 148 /* Note: MethodHandle must be first, and InvokeDynamic last in group */ \ |
149 \ | 149 \ |
150 template(StringBuffer_klass, java_lang_StringBuffer, Pre) \ | 150 template(StringBuffer_klass, java_lang_StringBuffer, Pre) \ |
151 template(StringBuilder_klass, java_lang_StringBuilder, Pre) \ | 151 template(StringBuilder_klass, java_lang_StringBuilder, Pre) \ |
152 \ | 152 \ |
153 /* It's NULL in non-1.4 JDKs. */ \ | 153 /* It's NULL in non-1.4 JDKs. */ \ |