Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
3a774fb1
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看板
提交
3a774fb1
编写于
8月 30, 2009
作者:
A
apangin
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
986a5553
fa5539bf
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
2 deletion
+18
-2
src/os/windows/vm/os_windows.cpp
src/os/windows/vm/os_windows.cpp
+17
-2
src/share/vm/oops/instanceKlass.cpp
src/share/vm/oops/instanceKlass.cpp
+1
-0
未找到文件。
src/os/windows/vm/os_windows.cpp
浏览文件 @
3a774fb1
...
...
@@ -1526,7 +1526,8 @@ void os::print_os_info(outputStream* st) {
case
5000
:
st
->
print
(
" Windows 2000"
);
break
;
case
5001
:
st
->
print
(
" Windows XP"
);
break
;
case
5002
:
case
6000
:
{
case
6000
:
case
6001
:
{
// Retrieve SYSTEM_INFO from GetNativeSystemInfo call so that we could
// find out whether we are running on 64 bit processor or not.
SYSTEM_INFO
si
;
...
...
@@ -1549,13 +1550,27 @@ void os::print_os_info(outputStream* st) {
st
->
print
(
" Windows XP x64 Edition"
);
else
st
->
print
(
" Windows Server 2003 family"
);
}
else
{
// os_vers == 6000
}
else
if
(
os_vers
==
6000
)
{
if
(
osvi
.
wProductType
==
VER_NT_WORKSTATION
)
st
->
print
(
" Windows Vista"
);
else
st
->
print
(
" Windows Server 2008"
);
if
(
si
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
st
->
print
(
" , 64 bit"
);
}
else
if
(
os_vers
==
6001
)
{
if
(
osvi
.
wProductType
==
VER_NT_WORKSTATION
)
{
st
->
print
(
" Windows 7"
);
}
else
{
// Unrecognized windows, print out its major and minor versions
st
->
print
(
" Windows NT %d.%d"
,
osvi
.
dwMajorVersion
,
osvi
.
dwMinorVersion
);
}
if
(
si
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
st
->
print
(
" , 64 bit"
);
}
else
{
// future os
// Unrecognized windows, print out its major and minor versions
st
->
print
(
" Windows NT %d.%d"
,
osvi
.
dwMajorVersion
,
osvi
.
dwMinorVersion
);
if
(
si
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
st
->
print
(
" , 64 bit"
);
}
break
;
}
...
...
src/share/vm/oops/instanceKlass.cpp
浏览文件 @
3a774fb1
...
...
@@ -1085,6 +1085,7 @@ void instanceKlass::set_cached_itable_index(size_t idnum, int index) {
if
(
indices
==
NULL
||
(
length
=
(
size_t
)
indices
[
0
])
<=
idnum
)
{
size_t
size
=
MAX2
(
idnum
+
1
,
(
size_t
)
idnum_allocated_count
());
int
*
new_indices
=
NEW_C_HEAP_ARRAY
(
int
,
size
+
1
);
new_indices
[
0
]
=
(
int
)
size
;
// array size held in the first element
// Copy the existing entries, if any
size_t
i
;
for
(
i
=
0
;
i
<
length
;
i
++
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录