Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f0eec57d
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看板
提交
f0eec57d
编写于
2月 20, 2020
作者:
A
andrew
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
016927df
f32f3ea2
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
18 addition
and
18 deletion
+18
-18
src/cpu/ppc/vm/globals_ppc.hpp
src/cpu/ppc/vm/globals_ppc.hpp
+1
-3
src/cpu/sparc/vm/c1_FrameMap_sparc.cpp
src/cpu/sparc/vm/c1_FrameMap_sparc.cpp
+2
-0
src/cpu/sparc/vm/globals_sparc.hpp
src/cpu/sparc/vm/globals_sparc.hpp
+1
-2
src/cpu/x86/vm/c1_FrameMap_x86.cpp
src/cpu/x86/vm/c1_FrameMap_x86.cpp
+2
-0
src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
+2
-2
src/cpu/x86/vm/globals_x86.hpp
src/cpu/x86/vm/globals_x86.hpp
+1
-2
src/cpu/zero/vm/globals_zero.hpp
src/cpu/zero/vm/globals_zero.hpp
+1
-2
src/share/vm/c1/c1_FrameMap.hpp
src/share/vm/c1/c1_FrameMap.hpp
+4
-0
src/share/vm/code/vtableStubs.cpp
src/share/vm/code/vtableStubs.cpp
+2
-2
src/share/vm/runtime/globals.hpp
src/share/vm/runtime/globals.hpp
+1
-4
src/share/vm/runtime/safepoint.hpp
src/share/vm/runtime/safepoint.hpp
+1
-1
未找到文件。
src/cpu/ppc/vm/globals_ppc.hpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 2002, 201
8
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 201
9
, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012, 2018 SAP AG. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
...
...
@@ -33,10 +33,8 @@
// (see globals.hpp)
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ShareVtableStubs
,
false
);
// Improves performance markedly for mtrt and compress.
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
// Only register window machines need this.
define_pd_global
(
bool
,
ImplicitNullChecks
,
true
);
// Generate code for implicit null checks.
define_pd_global
(
bool
,
TrapBasedNullChecks
,
true
);
define_pd_global
(
bool
,
UncommonNullCast
,
true
);
// Uncommon-trap NULLs passed to check cast.
...
...
src/cpu/sparc/vm/c1_FrameMap_sparc.cpp
浏览文件 @
f0eec57d
...
...
@@ -55,6 +55,8 @@ LIR_Opr FrameMap::map_to_opr(BasicType type, VMRegPair* reg, bool outgoing) {
opr
=
as_oop_opr
(
reg
);
}
else
if
(
type
==
T_METADATA
)
{
opr
=
as_metadata_opr
(
reg
);
}
else
if
(
type
==
T_ADDRESS
)
{
opr
=
as_address_opr
(
reg
);
}
else
{
opr
=
as_opr
(
reg
);
}
...
...
src/cpu/sparc/vm/globals_sparc.hpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
9
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -38,7 +38,6 @@
// according to the prior table. So, we let the thread continue and let it block by itself.
define_pd_global
(
bool
,
DontYieldALot
,
true
);
// yield no more than 100 times per second
define_pd_global
(
bool
,
ConvertSleepToYield
,
false
);
// do not convert sleep(0) to yield. Helps GUI
define_pd_global
(
bool
,
ShareVtableStubs
,
false
);
// improves performance markedly for mtrt and compress
define_pd_global
(
bool
,
CountInterpCalls
,
false
);
// not implemented in the interpreter
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
true
);
// register window machines need this
...
...
src/cpu/x86/vm/c1_FrameMap_x86.cpp
浏览文件 @
f0eec57d
...
...
@@ -54,6 +54,8 @@ LIR_Opr FrameMap::map_to_opr(BasicType type, VMRegPair* reg, bool) {
opr
=
as_oop_opr
(
reg
);
}
else
if
(
type
==
T_METADATA
)
{
opr
=
as_metadata_opr
(
reg
);
}
else
if
(
type
==
T_ADDRESS
)
{
opr
=
as_address_opr
(
reg
);
}
else
{
opr
=
as_opr
(
reg
);
}
...
...
src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
浏览文件 @
f0eec57d
...
...
@@ -964,7 +964,7 @@ void LIR_Assembler::reg2stack(LIR_Opr src, LIR_Opr dest, BasicType type, bool po
if
(
type
==
T_OBJECT
||
type
==
T_ARRAY
)
{
__
verify_oop
(
src
->
as_register
());
__
movptr
(
dst
,
src
->
as_register
());
}
else
if
(
type
==
T_METADATA
)
{
}
else
if
(
type
==
T_METADATA
||
type
==
T_ADDRESS
)
{
__
movptr
(
dst
,
src
->
as_register
());
}
else
{
__
movl
(
dst
,
src
->
as_register
());
...
...
@@ -1145,7 +1145,7 @@ void LIR_Assembler::stack2reg(LIR_Opr src, LIR_Opr dest, BasicType type) {
if
(
type
==
T_ARRAY
||
type
==
T_OBJECT
)
{
__
movptr
(
dest
->
as_register
(),
frame_map
()
->
address_for_slot
(
src
->
single_stack_ix
()));
__
verify_oop
(
dest
->
as_register
());
}
else
if
(
type
==
T_METADATA
)
{
}
else
if
(
type
==
T_METADATA
||
type
==
T_ADDRESS
)
{
__
movptr
(
dest
->
as_register
(),
frame_map
()
->
address_for_slot
(
src
->
single_stack_ix
()));
}
else
{
__
movl
(
dest
->
as_register
(),
frame_map
()
->
address_for_slot
(
src
->
single_stack_ix
()));
...
...
src/cpu/x86/vm/globals_x86.hpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
9
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -32,7 +32,6 @@
// (see globals.hpp)
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ShareVtableStubs
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
// only register window machines need this
...
...
src/cpu/zero/vm/globals_zero.hpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 2000, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
9
, Oracle and/or its affiliates. All rights reserved.
* Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
...
...
@@ -33,7 +33,6 @@
// runtime system. See globals.hpp for details of what they do.
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ShareVtableStubs
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
...
...
src/share/vm/c1/c1_FrameMap.hpp
浏览文件 @
f0eec57d
...
...
@@ -198,6 +198,10 @@ class FrameMap : public CompilationResourceObj {
return
LIR_OprFact
::
single_cpu_metadata
(
cpu_reg2rnr
(
r
));
}
static
LIR_Opr
as_address_opr
(
Register
r
)
{
return
LIR_OprFact
::
single_cpu_address
(
cpu_reg2rnr
(
r
));
}
FrameMap
(
ciMethod
*
method
,
int
monitors
,
int
reserved_argument_area_size
);
bool
finalize_frame
(
int
nof_slots
);
...
...
src/share/vm/code/vtableStubs.cpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 1997, 201
8
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
9
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -110,7 +110,7 @@ void VtableStubs::initialize() {
address
VtableStubs
::
find_stub
(
bool
is_vtable_stub
,
int
vtable_index
)
{
assert
(
vtable_index
>=
0
,
"must be positive"
);
VtableStub
*
s
=
ShareVtableStubs
?
lookup
(
is_vtable_stub
,
vtable_index
)
:
NULL
;
VtableStub
*
s
=
lookup
(
is_vtable_stub
,
vtable_index
)
;
if
(
s
==
NULL
)
{
if
(
is_vtable_stub
)
{
s
=
create_vtable_stub
(
vtable_index
);
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
f0eec57d
/*
* Copyright (c) 1997, 201
8
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
9
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -1180,9 +1180,6 @@ class CommandLineFlags {
product(bool, ReduceSignalUsage, false, \
"Reduce the use of OS signals in Java and/or the VM") \
\
develop_pd(bool, ShareVtableStubs, \
"Share vtable stubs (smaller code but worse branch prediction") \
\
develop(bool, LoadLineNumberTables, true, \
"Tell whether the class file parser loads line number tables") \
\
...
...
src/share/vm/runtime/safepoint.hpp
浏览文件 @
f0eec57d
...
...
@@ -190,7 +190,7 @@ public:
};
// State class for a thread suspended at a safepoint
class
ThreadSafepointState
:
public
CHeapObj
<
mt
Internal
>
{
class
ThreadSafepointState
:
public
CHeapObj
<
mt
Thread
>
{
public:
// These states are maintained by VM thread while threads are being brought
// to a safepoint. After SafepointSynchronize::end(), they are reset to
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录