Skip to content

Commit 90f456c

Browse files
roy-soumadiptaPaul Hohensee
authored and
Paul Hohensee
committed
8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502b9bacde55492820e52655bbac63b89
1 parent 834c45c commit 90f456c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

test/hotspot/jtreg/gc/stress/TestStressIHOPMultiThread.java

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
2424
package gc.stress;
2525

2626
/*
27-
* @test TestStressIHOPMultiThread
27+
* @test
2828
* @bug 8148397
2929
* @key stress
3030
* @summary Stress test for IHOP
@@ -34,21 +34,41 @@
3434
* -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread1.log
3535
* -Dtimeout=2 -DheapUsageMinBound=30 -DheapUsageMaxBound=80
3636
* -Dthreads=2 gc.stress.TestStressIHOPMultiThread
37+
*/
38+
39+
/*
40+
* @test
41+
* @requires vm.gc.G1
3742
* @run main/othervm/timeout=200 -Xmx256m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
3843
* -XX:+UseG1GC -XX:G1HeapRegionSize=2m -XX:+G1UseAdaptiveIHOP
3944
* -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread2.log
4045
* -Dtimeout=2 -DheapUsageMinBound=60 -DheapUsageMaxBound=90
4146
* -Dthreads=3 gc.stress.TestStressIHOPMultiThread
47+
*/
48+
49+
/*
50+
* @test
51+
* @requires vm.gc.G1
4252
* @run main/othervm/timeout=200 -Xmx256m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
4353
* -XX:+UseG1GC -XX:G1HeapRegionSize=4m -XX:-G1UseAdaptiveIHOP
4454
* -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread3.log
4555
* -Dtimeout=2 -DheapUsageMinBound=40 -DheapUsageMaxBound=90
4656
* -Dthreads=5 gc.stress.TestStressIHOPMultiThread
57+
*/
58+
59+
/*
60+
* @test
61+
* @requires vm.gc.G1
4762
* @run main/othervm/timeout=200 -Xmx128m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
4863
* -XX:+UseG1GC -XX:G1HeapRegionSize=8m -XX:+G1UseAdaptiveIHOP
4964
* -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread4.log
5065
* -Dtimeout=2 -DheapUsageMinBound=20 -DheapUsageMaxBound=90
5166
* -Dthreads=10 gc.stress.TestStressIHOPMultiThread
67+
*/
68+
69+
/*
70+
* @test
71+
* @requires vm.gc.G1
5272
* @run main/othervm/timeout=200 -Xmx512m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
5373
* -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:+G1UseAdaptiveIHOP
5474
* -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread5.log

0 commit comments

Comments
 (0)