Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
e9e8577e
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看板
提交
e9e8577e
编写于
6月 14, 2012
作者:
S
sla
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
cda92628
41bcf476
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
22 addition
and
7 deletion
+22
-7
make/bsd/makefiles/gcc.make
make/bsd/makefiles/gcc.make
+1
-1
make/linux/makefiles/gcc.make
make/linux/makefiles/gcc.make
+1
-1
make/solaris/makefiles/gcc.make
make/solaris/makefiles/gcc.make
+1
-1
src/os/windows/vm/os_windows.cpp
src/os/windows/vm/os_windows.cpp
+10
-1
src/share/vm/prims/jni.cpp
src/share/vm/prims/jni.cpp
+3
-3
src/share/vm/utilities/globalDefinitions_visCPP.hpp
src/share/vm/utilities/globalDefinitions_visCPP.hpp
+6
-0
未找到文件。
make/bsd/makefiles/gcc.make
浏览文件 @
e9e8577e
...
...
@@ -214,7 +214,7 @@ endif
# Flags for generating make dependency flags.
ifneq
("${CC_VER_MAJOR}", "2")
DEPFLAGS
=
-MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
DEPFLAGS
=
-
fpch-deps
-
MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
...
...
make/linux/makefiles/gcc.make
浏览文件 @
e9e8577e
...
...
@@ -166,7 +166,7 @@ endif
# Flags for generating make dependency flags.
ifneq
("${CC_VER_MAJOR}", "2")
DEPFLAGS
=
-MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
DEPFLAGS
=
-
fpch-deps
-
MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
...
...
make/solaris/makefiles/gcc.make
浏览文件 @
e9e8577e
...
...
@@ -141,7 +141,7 @@ OPT_CFLAGS/NOOPT=-O0
# Flags for generating make dependency flags.
ifneq
("${CC_VER_MAJOR}", "2")
DEPFLAGS
=
-MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
DEPFLAGS
=
-
fpch-deps
-
MMD
-MP
-MF
$(DEP_DIR)
/
$
(
@:%
=
%.d
)
endif
# -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
...
...
src/os/windows/vm/os_windows.cpp
浏览文件 @
e9e8577e
...
...
@@ -1591,7 +1591,8 @@ void os::win32::print_windows_version(outputStream* st) {
case
5001
:
st
->
print
(
" Windows XP"
);
break
;
case
5002
:
case
6000
:
case
6001
:
{
case
6001
:
case
6002
:
{
// 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
;
...
...
@@ -1623,6 +1624,14 @@ void os::win32::print_windows_version(outputStream* st) {
}
if
(
si
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
)
st
->
print
(
" , 64 bit"
);
}
else
if
(
os_vers
==
6002
)
{
if
(
osvi
.
wProductType
==
VER_NT_WORKSTATION
)
{
st
->
print
(
" Windows 8"
);
}
else
{
st
->
print
(
" Windows Server 2012"
);
}
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
);
...
...
src/share/vm/prims/jni.cpp
浏览文件 @
e9e8577e
/*
* Copyright (c) 1997, 201
1
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
2
, 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
...
...
@@ -378,6 +378,7 @@ JNI_ENTRY(jclass, jni_DefineClass(JNIEnv *env, const char *name, jobject loaderR
jclass
cls
=
NULL
;
DT_RETURN_MARK
(
DefineClass
,
jclass
,
(
const
jclass
&
)
cls
);
TempNewSymbol
class_name
=
NULL
;
// Since exceptions can be thrown, class initialization can take place
// if name is NULL no check for class name in .class stream has to be made.
if
(
name
!=
NULL
)
{
...
...
@@ -387,9 +388,8 @@ JNI_ENTRY(jclass, jni_DefineClass(JNIEnv *env, const char *name, jobject loaderR
// into the constant pool.
THROW_MSG_0
(
vmSymbols
::
java_lang_NoClassDefFoundError
(),
name
);
}
class_name
=
SymbolTable
::
new_symbol
(
name
,
CHECK_NULL
);
}
TempNewSymbol
class_name
=
SymbolTable
::
new_symbol
(
name
,
THREAD
);
ResourceMark
rm
(
THREAD
);
ClassFileStream
st
((
u1
*
)
buf
,
bufLen
,
NULL
);
Handle
class_loader
(
THREAD
,
JNIHandles
::
resolve
(
loaderRef
));
...
...
src/share/vm/utilities/globalDefinitions_visCPP.hpp
浏览文件 @
e9e8577e
...
...
@@ -220,9 +220,15 @@ inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) {
#define PRIu64 "I64u"
#define PRIx64 "I64x"
#ifdef _LP64
#define PRIdPTR "I64d"
#define PRIuPTR "I64u"
#define PRIxPTR "I64x"
#else
#define PRIdPTR "d"
#define PRIuPTR "u"
#define PRIxPTR "x"
#endif
#define offset_of(klass,field) offsetof(klass,field)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录