src/share/vm/classfile/classFileParser.cpp

changeset 7890
bf41eee321e5
parent 7417
0fa1f71a905b
child 7994
04ff2f6cd0eb
child 8049
c2c7fed86a5e
equal deleted inserted replaced
7889:0b7060827bca 7890:bf41eee321e5
1781 return _method_ForceInline; 1781 return _method_ForceInline;
1782 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_DontInline_signature): 1782 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_DontInline_signature):
1783 if (_location != _in_method) break; // only allow for methods 1783 if (_location != _in_method) break; // only allow for methods
1784 if (!privileged) break; // only allow in privileged code 1784 if (!privileged) break; // only allow in privileged code
1785 return _method_DontInline; 1785 return _method_DontInline;
1786 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_InjectedProfile_signature):
1787 if (_location != _in_method) break; // only allow for methods
1788 if (!privileged) break; // only allow in privileged code
1789 return _method_InjectedProfile;
1786 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_LambdaForm_Compiled_signature): 1790 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_LambdaForm_Compiled_signature):
1787 if (_location != _in_method) break; // only allow for methods 1791 if (_location != _in_method) break; // only allow for methods
1788 if (!privileged) break; // only allow in privileged code 1792 if (!privileged) break; // only allow in privileged code
1789 return _method_LambdaForm_Compiled; 1793 return _method_LambdaForm_Compiled;
1790 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_LambdaForm_Hidden_signature): 1794 case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_LambdaForm_Hidden_signature):
1822 m->set_caller_sensitive(true); 1826 m->set_caller_sensitive(true);
1823 if (has_annotation(_method_ForceInline)) 1827 if (has_annotation(_method_ForceInline))
1824 m->set_force_inline(true); 1828 m->set_force_inline(true);
1825 if (has_annotation(_method_DontInline)) 1829 if (has_annotation(_method_DontInline))
1826 m->set_dont_inline(true); 1830 m->set_dont_inline(true);
1831 if (has_annotation(_method_InjectedProfile))
1832 m->set_has_injected_profile(true);
1827 if (has_annotation(_method_LambdaForm_Compiled) && m->intrinsic_id() == vmIntrinsics::_none) 1833 if (has_annotation(_method_LambdaForm_Compiled) && m->intrinsic_id() == vmIntrinsics::_none)
1828 m->set_intrinsic_id(vmIntrinsics::_compiledLambdaForm); 1834 m->set_intrinsic_id(vmIntrinsics::_compiledLambdaForm);
1829 if (has_annotation(_method_LambdaForm_Hidden)) 1835 if (has_annotation(_method_LambdaForm_Hidden))
1830 m->set_hidden(true); 1836 m->set_hidden(true);
1831 } 1837 }

mercurial