Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
cfb48804
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看板
提交
cfb48804
编写于
8月 16, 2019
作者:
E
eosterlund
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8229345: Memory leak due to vtable stubs not being shared on SPARC
Reviewed-by: mdoerr, dholmes, kvn
上级
2423cec1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
7 addition
and
15 deletion
+7
-15
src/cpu/ppc/vm/globals_ppc.hpp
src/cpu/ppc/vm/globals_ppc.hpp
+1
-3
src/cpu/sparc/vm/globals_sparc.hpp
src/cpu/sparc/vm/globals_sparc.hpp
+1
-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/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/cpu/ppc/vm/globals_ppc.hpp
浏览文件 @
cfb48804
/*
/*
* 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.
* Copyright 2012, 2018 SAP AG. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
...
@@ -33,10 +33,8 @@
...
@@ -33,10 +33,8 @@
// (see globals.hpp)
// (see globals.hpp)
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
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
,
NeedsDeoptSuspend
,
false
);
// Only register window machines need this.
define_pd_global
(
bool
,
ImplicitNullChecks
,
true
);
// Generate code for implicit null checks.
define_pd_global
(
bool
,
ImplicitNullChecks
,
true
);
// Generate code for implicit null checks.
define_pd_global
(
bool
,
TrapBasedNullChecks
,
true
);
define_pd_global
(
bool
,
TrapBasedNullChecks
,
true
);
define_pd_global
(
bool
,
UncommonNullCast
,
true
);
// Uncommon-trap NULLs passed to check cast.
define_pd_global
(
bool
,
UncommonNullCast
,
true
);
// Uncommon-trap NULLs passed to check cast.
...
...
src/cpu/sparc/vm/globals_sparc.hpp
浏览文件 @
cfb48804
/*
/*
* 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.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -38,7 +38,6 @@
...
@@ -38,7 +38,6 @@
// according to the prior table. So, we let the thread continue and let it block by itself.
// 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
,
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
,
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
,
CountInterpCalls
,
false
);
// not implemented in the interpreter
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
true
);
// register window machines need this
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
true
);
// register window machines need this
...
...
src/cpu/x86/vm/globals_x86.hpp
浏览文件 @
cfb48804
/*
/*
* 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.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
// (see globals.hpp)
// (see globals.hpp)
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ShareVtableStubs
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
// only register window machines need this
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
// only register window machines need this
...
...
src/cpu/zero/vm/globals_zero.hpp
浏览文件 @
cfb48804
/*
/*
* 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.
* Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
// runtime system. See globals.hpp for details of what they do.
// runtime system. See globals.hpp for details of what they do.
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ConvertSleepToYield
,
true
);
define_pd_global
(
bool
,
ShareVtableStubs
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
CountInterpCalls
,
true
);
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
define_pd_global
(
bool
,
NeedsDeoptSuspend
,
false
);
...
...
src/share/vm/code/vtableStubs.cpp
浏览文件 @
cfb48804
/*
/*
* 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.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -110,7 +110,7 @@ void VtableStubs::initialize() {
...
@@ -110,7 +110,7 @@ void VtableStubs::initialize() {
address
VtableStubs
::
find_stub
(
bool
is_vtable_stub
,
int
vtable_index
)
{
address
VtableStubs
::
find_stub
(
bool
is_vtable_stub
,
int
vtable_index
)
{
assert
(
vtable_index
>=
0
,
"must be positive"
);
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
(
s
==
NULL
)
{
if
(
is_vtable_stub
)
{
if
(
is_vtable_stub
)
{
s
=
create_vtable_stub
(
vtable_index
);
s
=
create_vtable_stub
(
vtable_index
);
...
...
src/share/vm/runtime/globals.hpp
浏览文件 @
cfb48804
/*
/*
* 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.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
*
* This code is free software; you can redistribute it and/or modify it
* This code is free software; you can redistribute it and/or modify it
...
@@ -1180,9 +1180,6 @@ class CommandLineFlags {
...
@@ -1180,9 +1180,6 @@ class CommandLineFlags {
product(bool, ReduceSignalUsage, false, \
product(bool, ReduceSignalUsage, false, \
"Reduce the use of OS signals in Java and/or the VM") \
"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, \
develop(bool, LoadLineNumberTables, true, \
"Tell whether the class file parser loads line number tables") \
"Tell whether the class file parser loads line number tables") \
\
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录