Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
ff0ed70a
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看板
提交
ff0ed70a
编写于
7月 11, 2018
作者:
K
kevinw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8205677: [8u] casts and type change for 8u to enable later Windows compilers
Reviewed-by: dholmes
上级
f275c71e
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
16 addition
and
16 deletion
+16
-16
src/share/vm/classfile/altHashing.cpp
src/share/vm/classfile/altHashing.cpp
+3
-3
src/share/vm/classfile/classFileParser.cpp
src/share/vm/classfile/classFileParser.cpp
+2
-2
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
...ion/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
+2
-2
src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
...e/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
+2
-2
src/share/vm/interpreter/oopMapCache.cpp
src/share/vm/interpreter/oopMapCache.cpp
+3
-3
src/share/vm/interpreter/oopMapCache.hpp
src/share/vm/interpreter/oopMapCache.hpp
+2
-2
src/share/vm/runtime/memprofiler.cpp
src/share/vm/runtime/memprofiler.cpp
+2
-2
未找到文件。
src/share/vm/classfile/altHashing.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 2012, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 201
8
, 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
...
...
@@ -224,7 +224,7 @@ static const jchar ONE_CHAR[] = { (jchar) 0x8180};
static
const
jbyte
THREE_BYTE
[]
=
{
(
jbyte
)
0x80
,
(
jbyte
)
0x81
,
(
jbyte
)
0x82
};
static
const
jbyte
FOUR_BYTE
[]
=
{
(
jbyte
)
0x80
,
(
jbyte
)
0x81
,
(
jbyte
)
0x82
,
(
jbyte
)
0x83
};
static
const
jchar
TWO_CHAR
[]
=
{
(
jchar
)
0x8180
,
(
jchar
)
0x8382
};
static
const
jint
ONE_INT
[]
=
{
0x83828180
};
static
const
jint
ONE_INT
[]
=
{
(
jint
)
0x83828180
};
static
const
jbyte
SIX_BYTE
[]
=
{
(
jbyte
)
0x80
,
(
jbyte
)
0x81
,
(
jbyte
)
0x82
,
(
jbyte
)
0x83
,
(
jbyte
)
0x84
,
(
jbyte
)
0x85
};
static
const
jchar
THREE_CHAR
[]
=
{
(
jchar
)
0x8180
,
(
jchar
)
0x8382
,
(
jchar
)
0x8584
};
static
const
jbyte
EIGHT_BYTE
[]
=
{
...
...
@@ -235,7 +235,7 @@ static const jchar FOUR_CHAR[] = {
(
jchar
)
0x8180
,
(
jchar
)
0x8382
,
(
jchar
)
0x8584
,
(
jchar
)
0x8786
};
static
const
jint
TWO_INT
[]
=
{
0x83828180
,
0x87868584
};
static
const
jint
TWO_INT
[]
=
{
(
jint
)
0x83828180
,
(
jint
)
0x87868584
};
static
const
juint
MURMUR3_32_X86_CHECK_VALUE
=
0xB0F57EE3
;
...
...
src/share/vm/classfile/classFileParser.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 1997, 201
6
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
8
, 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
...
...
@@ -275,7 +275,7 @@ void ClassFileParser::parse_constant_pool_entries(int length, TRAPS) {
char
*
str
=
java_lang_String
::
as_utf8_string
(
patch
());
// (could use java_lang_String::as_symbol instead, but might as well batch them)
utf8_buffer
=
(
u1
*
)
str
;
utf8_length
=
(
int
)
strlen
(
str
);
utf8_length
=
(
u2
)
strlen
(
str
);
}
unsigned
int
hash
;
...
...
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 2001, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 201
8
, 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
...
...
@@ -6829,7 +6829,7 @@ void CMSBitMap::region_invariant(MemRegion mr)
size_t
start_ofs
=
heapWordToOffset
(
mr
.
start
());
// Make sure that end() is appropriately aligned
assert
(
mr
.
end
()
==
(
HeapWord
*
)
round_to
((
intptr_t
)
mr
.
end
(),
(
1
<<
(
_shifter
+
LogHeapWordSize
))),
(
(
intptr_t
)
1
<<
(
_shifter
+
LogHeapWordSize
))),
"Misaligned mr.end()"
);
size_t
end_ofs
=
heapWordToOffset
(
mr
.
end
());
assert
(
end_ofs
>
start_ofs
,
"Should mark at least one bit"
);
...
...
src/share/vm/gc_implementation/parallelScavenge/gcTaskManager.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 2002, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 201
8
, 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
...
...
@@ -1035,7 +1035,7 @@ void WaitForBarrierGCTask::destruct() {
if
(
monitor
()
!=
NULL
)
{
MonitorSupply
::
release
(
monitor
());
}
_monitor
=
(
Monitor
*
)
0xDEAD000F
;
_monitor
=
(
Monitor
*
)
(
uintptr_t
)
0xDEAD000F
;
}
void
WaitForBarrierGCTask
::
do_it
(
GCTaskManager
*
manager
,
uint
which
)
{
...
...
src/share/vm/interpreter/oopMapCache.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 1997, 201
4
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
8
, 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
...
...
@@ -426,9 +426,9 @@ void OopMapCacheEntry::flush() {
#ifndef PRODUCT
static
long
_total_memory_usage
=
0
;
static
size_t
_total_memory_usage
=
0
;
long
OopMapCache
::
memory_usage
()
{
size_t
OopMapCache
::
memory_usage
()
{
return
_total_memory_usage
;
}
...
...
src/share/vm/interpreter/oopMapCache.hpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 201
8
, 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
...
...
@@ -176,7 +176,7 @@ class OopMapCache : public CHeapObj<mtClass> {
static
void
compute_one_oop_map
(
methodHandle
method
,
int
bci
,
InterpreterOopMap
*
entry
);
// Returns total no. of bytes allocated as part of OopMapCache's
static
long
memory_usage
()
PRODUCT_RETURN0
;
static
size_t
memory_usage
()
PRODUCT_RETURN0
;
};
#endif // SHARE_VM_INTERPRETER_OOPMAPCACHE_HPP
src/share/vm/runtime/memprofiler.cpp
浏览文件 @
ff0ed70a
/*
* Copyright (c) 1998, 201
2
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 201
8
, 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
...
...
@@ -126,7 +126,7 @@ void MemProfiler::do_trace() {
fprintf
(
_log_fp
,
UINTX_FORMAT_W
(
6
)
","
,
CodeCache
::
capacity
()
/
K
);
fprintf
(
_log_fp
,
UINTX_FORMAT_W
(
6
)
","
UINTX_FORMAT_W
(
6
)
",
%6ld
\n
"
,
fprintf
(
_log_fp
,
UINTX_FORMAT_W
(
6
)
","
UINTX_FORMAT_W
(
6
)
",
"
UINTX_FORMAT_W
(
6
)
"
\n
"
,
handles_memory_usage
/
K
,
resource_memory_usage
/
K
,
OopMapCache
::
memory_usage
()
/
K
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录