Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
66497631
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看板
提交
66497631
编写于
9月 04, 2013
作者:
J
jmasa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8013938: Native OOME on fastdebug VM on Solaris
Reviewed-by: azeemj, brutisso, kvn, tschatzl
上级
68148a0f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
1 addition
and
16 deletion
+1
-16
src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp
src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp
+1
-1
src/share/vm/runtime/arguments.cpp
src/share/vm/runtime/arguments.cpp
+0
-13
src/share/vm/runtime/arguments.hpp
src/share/vm/runtime/arguments.hpp
+0
-2
未找到文件。
src/os_cpu/solaris_x86/vm/globals_solaris_x86.hpp
浏览文件 @
66497631
...
...
@@ -44,6 +44,6 @@ define_pd_global(uintx,JVMInvokeMethodSlack, 10*K);
define_pd_global
(
intx
,
CompilerThreadStackSize
,
0
);
// Used on 64 bit platforms for UseCompressedOops base address
define_pd_global
(
uintx
,
HeapBaseMinAddress
,
2
56
*
M
);
define_pd_global
(
uintx
,
HeapBaseMinAddress
,
2
*
G
);
#endif // OS_CPU_SOLARIS_X86_VM_GLOBALS_SOLARIS_X86_HPP
src/share/vm/runtime/arguments.cpp
浏览文件 @
66497631
...
...
@@ -1605,17 +1605,6 @@ julong Arguments::limit_by_allocatable_memory(julong limit) {
return
result
;
}
void
Arguments
::
set_heap_base_min_address
()
{
if
(
FLAG_IS_DEFAULT
(
HeapBaseMinAddress
)
&&
UseG1GC
&&
HeapBaseMinAddress
<
1
*
G
)
{
// By default HeapBaseMinAddress is 2G on all platforms except Solaris x86.
// G1 currently needs a lot of C-heap, so on Solaris we have to give G1
// some extra space for the C-heap compared to other collectors.
// Use FLAG_SET_DEFAULT here rather than FLAG_SET_ERGO to make sure that
// code that checks for default values work correctly.
FLAG_SET_DEFAULT
(
HeapBaseMinAddress
,
1
*
G
);
}
}
void
Arguments
::
set_heap_size
()
{
if
(
!
FLAG_IS_DEFAULT
(
DefaultMaxRAMFraction
))
{
// Deprecated flag
...
...
@@ -3537,8 +3526,6 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
}
}
set_heap_base_min_address
();
// Set heap size based on available physical memory
set_heap_size
();
...
...
src/share/vm/runtime/arguments.hpp
浏览文件 @
66497631
...
...
@@ -315,8 +315,6 @@ class Arguments : AllStatic {
// limits the given memory size by the maximum amount of memory this process is
// currently allowed to allocate or reserve.
static
julong
limit_by_allocatable_memory
(
julong
size
);
// Setup HeapBaseMinAddress
static
void
set_heap_base_min_address
();
// Setup heap size
static
void
set_heap_size
();
// Based on automatic selection criteria, should the
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录