Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
7dad7ca8
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7dad7ca8
编写于
11月 13, 2013
作者:
M
minqi
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
044fe504
2fd5e76c
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
1 addition
and
23 deletion
+1
-23
src/share/vm/classfile/systemDictionary.hpp
src/share/vm/classfile/systemDictionary.hpp
+0
-1
src/share/vm/classfile/verifier.cpp
src/share/vm/classfile/verifier.cpp
+1
-5
src/share/vm/classfile/vmSymbols.hpp
src/share/vm/classfile/vmSymbols.hpp
+0
-1
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+0
-3
src/share/vm/runtime/reflection.cpp
src/share/vm/runtime/reflection.cpp
+0
-12
test/compiler/jsr292/ConcurrentClassLoadingTest.java
test/compiler/jsr292/ConcurrentClassLoadingTest.java
+0
-1
未找到文件。
src/share/vm/classfile/systemDictionary.hpp
浏览文件 @
7dad7ca8
...
...
@@ -141,7 +141,6 @@ class SymbolPropertyTable;
/* NOTE: needed too early in bootstrapping process to have checks based on JDK version */
\
/* Universe::is_gte_jdk14x_version() is not set up by this point. */
\
/* It's okay if this turns out to be NULL in non-1.4 JDKs. */
\
do_klass(lambda_MagicLambdaImpl_klass, java_lang_invoke_MagicLambdaImpl, Opt ) \
do_klass(reflect_MagicAccessorImpl_klass, sun_reflect_MagicAccessorImpl, Opt ) \
do_klass(reflect_MethodAccessorImpl_klass, sun_reflect_MethodAccessorImpl, Opt_Only_JDK14NewRef) \
do_klass(reflect_ConstructorAccessorImpl_klass, sun_reflect_ConstructorAccessorImpl, Opt_Only_JDK14NewRef) \
...
...
src/share/vm/classfile/verifier.cpp
浏览文件 @
7dad7ca8
...
...
@@ -188,10 +188,8 @@ bool Verifier::verify(instanceKlassHandle klass, Verifier::Mode mode, bool shoul
bool
Verifier
::
is_eligible_for_verification
(
instanceKlassHandle
klass
,
bool
should_verify_class
)
{
Symbol
*
name
=
klass
->
name
();
Klass
*
refl_magic_klass
=
SystemDictionary
::
reflect_MagicAccessorImpl_klass
();
Klass
*
lambda_magic_klass
=
SystemDictionary
::
lambda_MagicLambdaImpl_klass
();
bool
is_reflect
=
refl_magic_klass
!=
NULL
&&
klass
->
is_subtype_of
(
refl_magic_klass
);
bool
is_lambda
=
lambda_magic_klass
!=
NULL
&&
klass
->
is_subtype_of
(
lambda_magic_klass
);
return
(
should_verify_for
(
klass
->
class_loader
(),
should_verify_class
)
&&
// return if the class is a bootstrapping class
...
...
@@ -215,9 +213,7 @@ bool Verifier::is_eligible_for_verification(instanceKlassHandle klass, bool shou
// NOTE: this is called too early in the bootstrapping process to be
// guarded by Universe::is_gte_jdk14x_version()/UseNewReflection.
// Also for lambda generated code, gte jdk8
(
!
is_reflect
||
VerifyReflectionBytecodes
)
&&
(
!
is_lambda
||
VerifyLambdaBytecodes
)
);
(
!
is_reflect
||
VerifyReflectionBytecodes
));
}
Symbol
*
Verifier
::
inference_verify
(
...
...
src/share/vm/classfile/vmSymbols.hpp
浏览文件 @
7dad7ca8
...
...
@@ -273,7 +273,6 @@
template(java_lang_invoke_Stable_signature, "Ljava/lang/invoke/Stable;") \
template(java_lang_invoke_LambdaForm_Compiled_signature, "Ljava/lang/invoke/LambdaForm$Compiled;") \
template(java_lang_invoke_LambdaForm_Hidden_signature, "Ljava/lang/invoke/LambdaForm$Hidden;") \
template(java_lang_invoke_MagicLambdaImpl, "java/lang/invoke/MagicLambdaImpl") \
/* internal up-calls made only by the JVM, via class sun.invoke.MethodHandleNatives: */
\
template(findMethodHandleType_name, "findMethodHandleType") \
template(findMethodHandleType_signature, "(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;") \
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
7dad7ca8
...
...
@@ -3622,9 +3622,6 @@ class CommandLineFlags {
"Temporary flag for transition to AbstractMethodError wrapped " \
"in InvocationTargetException. See 6531596") \
\
develop(bool, VerifyLambdaBytecodes, false, \
"Force verification of jdk 8 lambda metafactory bytecodes") \
\
develop(intx, FastSuperclassLimit, 8, \
"Depth of hardwired instanceof accelerator array") \
\
...
...
src/share/vm/runtime/reflection.cpp
浏览文件 @
7dad7ca8
...
...
@@ -470,12 +470,6 @@ bool Reflection::verify_class_access(Klass* current_class, Klass* new_class, boo
return
true
;
}
// Also allow all accesses from
// java/lang/invoke/MagicLambdaImpl subclasses to succeed trivially.
if
(
current_class
->
is_subclass_of
(
SystemDictionary
::
lambda_MagicLambdaImpl_klass
()))
{
return
true
;
}
return
can_relax_access_check_for
(
current_class
,
new_class
,
classloader_only
);
}
...
...
@@ -570,12 +564,6 @@ bool Reflection::verify_field_access(Klass* current_class,
return
true
;
}
// Also allow all accesses from
// java/lang/invoke/MagicLambdaImpl subclasses to succeed trivially.
if
(
current_class
->
is_subclass_of
(
SystemDictionary
::
lambda_MagicLambdaImpl_klass
()))
{
return
true
;
}
return
can_relax_access_check_for
(
current_class
,
field_class
,
classloader_only
);
}
...
...
test/compiler/jsr292/ConcurrentClassLoadingTest.java
浏览文件 @
7dad7ca8
...
...
@@ -172,7 +172,6 @@ public class ConcurrentClassLoadingTest {
"java.lang.invoke.LambdaConversionException"
,
"java.lang.invoke.LambdaForm"
,
"java.lang.invoke.LambdaMetafactory"
,
"java.lang.invoke.MagicLambdaImpl"
,
"java.lang.invoke.MemberName"
,
"java.lang.invoke.MethodHandle"
,
"java.lang.invoke.MethodHandleImpl"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录