Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
f6a57797
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看板
提交
f6a57797
编写于
4月 23, 2015
作者:
J
jwilhelm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8062537: [TESTBUG] Conflicting GC combinations in hotspot tests
Reviewed-by: tschatzl, jwilhelm
上级
b5ceee05
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
33 addition
and
34 deletion
+33
-34
test/compiler/regalloc/C1ObjectSpillInLogicOp.java
test/compiler/regalloc/C1ObjectSpillInLogicOp.java
+2
-1
test/gc/6581734/Test6581734.java
test/gc/6581734/Test6581734.java
+2
-1
test/gc/TestSystemGC.java
test/gc/TestSystemGC.java
+2
-1
test/gc/arguments/TestAlignmentToUseLargePages.java
test/gc/arguments/TestAlignmentToUseLargePages.java
+2
-1
test/gc/arguments/TestG1HeapRegionSize.java
test/gc/arguments/TestG1HeapRegionSize.java
+6
-11
test/gc/concurrentMarkSweep/DisableResizePLAB.java
test/gc/concurrentMarkSweep/DisableResizePLAB.java
+1
-0
test/gc/g1/TestHumongousShrinkHeap.java
test/gc/g1/TestHumongousShrinkHeap.java
+1
-0
test/gc/g1/TestRegionAlignment.java
test/gc/g1/TestRegionAlignment.java
+2
-1
test/gc/g1/TestShrinkAuxiliaryData.java
test/gc/g1/TestShrinkAuxiliaryData.java
+1
-14
test/gc/g1/TestShrinkAuxiliaryData05.java
test/gc/g1/TestShrinkAuxiliaryData05.java
+1
-0
test/gc/g1/TestShrinkAuxiliaryData10.java
test/gc/g1/TestShrinkAuxiliaryData10.java
+1
-0
test/gc/g1/TestShrinkAuxiliaryData15.java
test/gc/g1/TestShrinkAuxiliaryData15.java
+1
-0
test/gc/g1/TestShrinkAuxiliaryData20.java
test/gc/g1/TestShrinkAuxiliaryData20.java
+1
-0
test/gc/g1/TestShrinkAuxiliaryData25.java
test/gc/g1/TestShrinkAuxiliaryData25.java
+1
-0
test/gc/g1/TestShrinkAuxiliaryData30.java
test/gc/g1/TestShrinkAuxiliaryData30.java
+1
-0
test/gc/g1/TestShrinkToOneRegion.java
test/gc/g1/TestShrinkToOneRegion.java
+2
-1
test/gc/metaspace/G1AddMetaspaceDependency.java
test/gc/metaspace/G1AddMetaspaceDependency.java
+2
-1
test/gc/metaspace/TestMetaspacePerfCounters.java
test/gc/metaspace/TestMetaspacePerfCounters.java
+2
-1
test/gc/metaspace/TestPerfCountersAndMemoryPools.java
test/gc/metaspace/TestPerfCountersAndMemoryPools.java
+2
-1
未找到文件。
test/compiler/regalloc/C1ObjectSpillInLogicOp.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test
* @bug 8027751
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary C1 crashes generating G1 post-barrier in Unsafe.getAndSetObject() intrinsic because of the new value spill
* @run main/othervm -XX:+UseG1GC C1ObjectSpillInLogicOp
*
...
...
test/gc/6581734/Test6581734.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test Test6581734.java
* @bug 6581734
* @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
* @summary CMS Old Gen's collection usage is zero after GC which is incorrect
* @run main/othervm -Xmx512m -verbose:gc -XX:+UseConcMarkSweepGC Test6581734
*
...
...
test/gc/TestSystemGC.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test TestSystemGC
* @key gc
* @requires vm.gc=="null"
* @summary Runs System.gc() with different flags.
* @run main/othervm TestSystemGC
* @run main/othervm -XX:+UseSerialGC TestSystemGC
...
...
test/gc/arguments/TestAlignmentToUseLargePages.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -28,6 +28,7 @@
* @bug 8024396
* @key gc
* @key regression
* @requires vm.gc=="null"
* @run main/othervm -Xms7M -Xmx9M -XX:+UseParallelGC -XX:-UseParallelOldGC -XX:+UseLargePages TestAlignmentToUseLargePages
* @run main/othervm -Xms7M -Xmx9M -XX:+UseParallelGC -XX:-UseParallelOldGC -XX:-UseLargePages TestAlignmentToUseLargePages
* @run main/othervm -Xms7M -Xmx9M -XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseLargePages TestAlignmentToUseLargePages
...
...
test/gc/arguments/TestG1HeapRegionSize.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -25,11 +25,12 @@
* @test TestG1HeapRegionSize
* @key gc
* @bug 8021879
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary Verify that the flag G1HeapRegionSize is updated properly
* @run main/othervm -Xmx64m TestG1HeapRegionSize 1048576
* @run main/othervm -XX:G1HeapRegionSize=2m -Xmx64m TestG1HeapRegionSize 2097152
* @run main/othervm -XX:G1HeapRegionSize=3m -Xmx64m TestG1HeapRegionSize 2097152
* @run main/othervm -XX:G1HeapRegionSize=64m -Xmx256m TestG1HeapRegionSize 33554432
* @run main/othervm -XX:G1HeapRegionSize=2m -Xmx64m
-XX:+UseG1GC
TestG1HeapRegionSize 2097152
* @run main/othervm -XX:G1HeapRegionSize=3m -Xmx64m
-XX:+UseG1GC
TestG1HeapRegionSize 2097152
* @run main/othervm -XX:G1HeapRegionSize=64m -Xmx256m
-XX:+UseG1GC
TestG1HeapRegionSize 33554432
*/
import
sun.management.ManagementFactoryHelper
;
...
...
@@ -41,14 +42,8 @@ public class TestG1HeapRegionSize {
public
static
void
main
(
String
[]
args
)
{
HotSpotDiagnosticMXBean
diagnostic
=
ManagementFactoryHelper
.
getDiagnosticMXBean
();
VMOption
option
=
diagnostic
.
getVMOption
(
"UseG1GC"
);
if
(
option
.
getValue
().
equals
(
"false"
))
{
System
.
out
.
println
(
"Skipping this test. It is only a G1 test."
);
return
;
}
String
expectedValue
=
getExpectedValue
(
args
);
option
=
diagnostic
.
getVMOption
(
"G1HeapRegionSize"
);
VMOption
option
=
diagnostic
.
getVMOption
(
"G1HeapRegionSize"
);
if
(!
expectedValue
.
equals
(
option
.
getValue
()))
{
throw
new
RuntimeException
(
"Wrong value for G1HeapRegionSize. Expected "
+
expectedValue
+
" but got "
+
option
.
getValue
());
}
...
...
test/gc/concurrentMarkSweep/DisableResizePLAB.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @key gc
* @bug 8060467
* @author filipp.zhinkin@oracle.com, john.coomes@oracle.com
* @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
* @summary Run CMS with PLAB resizing disabled and a small OldPLABSize
* @run main/othervm -XX:+UseConcMarkSweepGC -XX:-ResizePLAB -XX:OldPLABSize=1k -Xmx256m -XX:+PrintGCDetails DisableResizePLAB
*/
...
...
test/gc/g1/TestHumongousShrinkHeap.java
浏览文件 @
f6a57797
...
...
@@ -24,6 +24,7 @@
/**
* @test TestHumongousShrinkHeap
* @bug 8036025 8056043
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary Verify that heap shrinks after GC in the presence of fragmentation
* due to humongous objects
* @library /testlibrary
...
...
test/gc/g1/TestRegionAlignment.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test TestRegionAlignment.java
* @bug 8013791
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary Make sure that G1 ergonomics pick a heap size that is aligned with the region size
* @run main/othervm -XX:+UseG1GC -XX:G1HeapRegionSize=32m -XX:MaxRAM=555m TestRegionAlignment
*
...
...
test/gc/g1/TestShrinkAuxiliaryData.java
浏览文件 @
f6a57797
...
...
@@ -70,9 +70,7 @@ public class TestShrinkAuxiliaryData {
printTestInfo
(
maxCacheSize
);
vmOpts
.
add
(
"-XX:G1ConcRSLogCacheSize="
+
RSetCacheSize
);
vmOpts
.
addAll
(
Arrays
.
asList
(
Utils
.
getFilteredTestJavaOpts
(
ShrinkAuxiliaryDataTest
.
prohibitedVmOptions
)));
vmOpts
.
addAll
(
Arrays
.
asList
(
Utils
.
getTestJavaOpts
()));
// for 32 bits ObjectAlignmentInBytes is not a option
if
(
Platform
.
is32bit
())
{
...
...
@@ -272,16 +270,5 @@ public class TestShrinkAuxiliaryData {
private
static
final
int
REGIONS_TO_ALLOCATE
=
5
;
private
static
final
int
NUM_OBJECTS_PER_REGION
=
10
;
private
static
final
int
NUM_LINKS
=
20
;
// how many links create for each object
private
static
final
String
[]
prohibitedVmOptions
=
{
// remove this when @requires option will be on duty
"-XX:\\+UseParallelGC"
,
"-XX:\\+UseSerialGC"
,
"-XX:\\+UseConcMarkSweepGC"
,
"-XX:\\+UseParallelOldGC"
,
"-XX:\\+UseParNewGC"
,
"-Xconcgc"
,
"-Xincgc"
};
}
}
test/gc/g1/TestShrinkAuxiliaryData05.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData05
* @run driver/timeout=720 TestShrinkAuxiliaryData05
...
...
test/gc/g1/TestShrinkAuxiliaryData10.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData10
* @run driver/timeout=720 TestShrinkAuxiliaryData10
...
...
test/gc/g1/TestShrinkAuxiliaryData15.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData15
* @run driver/timeout=720 TestShrinkAuxiliaryData15
...
...
test/gc/g1/TestShrinkAuxiliaryData20.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData20
* @run driver/timeout=720 TestShrinkAuxiliaryData20
...
...
test/gc/g1/TestShrinkAuxiliaryData25.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData25
* @run driver/timeout=720 TestShrinkAuxiliaryData25
...
...
test/gc/g1/TestShrinkAuxiliaryData30.java
浏览文件 @
f6a57797
...
...
@@ -26,6 +26,7 @@
* @bug 8038423
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @build TestShrinkAuxiliaryData TestShrinkAuxiliaryData30
* @run driver/timeout=720 TestShrinkAuxiliaryData30
...
...
test/gc/g1/TestShrinkToOneRegion.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test TestShrinkToOneRegion.java
* @bug 8013872
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary Shrinking the heap down to one region used to hit an assert
* @run main/othervm -XX:+UseG1GC -XX:G1HeapRegionSize=32m -Xmx256m TestShrinkToOneRegion
*
...
...
test/gc/metaspace/G1AddMetaspaceDependency.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -24,6 +24,7 @@
/*
* @test G1AddMetaspaceDependency
* @bug 8010196
* @requires vm.gc=="G1" | vm.gc=="null"
* @summary Checks that we don't get locking problems when adding metaspace dependencies with the G1 update buffer monitor
* @run main/othervm -XX:+UseG1GC -XX:G1UpdateBufferSize=1 G1AddMetaspaceDependency
*/
...
...
test/gc/metaspace/TestMetaspacePerfCounters.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -29,6 +29,7 @@ import static com.oracle.java.testlibrary.Asserts.*;
/* @test TestMetaspacePerfCounters
* @bug 8014659
* @requires vm.gc=="null"
* @library /testlibrary
* @summary Tests that performance counters for metaspace and compressed class
* space exists and works.
...
...
test/gc/metaspace/TestPerfCountersAndMemoryPools.java
浏览文件 @
f6a57797
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
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
...
...
@@ -30,6 +30,7 @@ import static com.oracle.java.testlibrary.Asserts.*;
/* @test TestPerfCountersAndMemoryPools
* @bug 8023476
* @library /testlibrary
* @requires vm.gc=="Serial" | vm.gc=="null"
* @summary Tests that a MemoryPoolMXBeans and PerfCounters for metaspace
* report the same data.
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-UseCompressedKlassPointers -XX:+UseSerialGC -XX:+UsePerfData -Xint TestPerfCountersAndMemoryPools
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录