|
1 | 1 | /*
|
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. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
|
24 | 24 | package gc.stress;
|
25 | 25 |
|
26 | 26 | /*
|
27 |
| - * @test TestStressIHOPMultiThread |
| 27 | + * @test |
28 | 28 | * @bug 8148397
|
29 | 29 | * @key stress
|
30 | 30 | * @summary Stress test for IHOP
|
|
34 | 34 | * -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread1.log
|
35 | 35 | * -Dtimeout=2 -DheapUsageMinBound=30 -DheapUsageMaxBound=80
|
36 | 36 | * -Dthreads=2 gc.stress.TestStressIHOPMultiThread
|
| 37 | + */ |
| 38 | + |
| 39 | +/* |
| 40 | + * @test |
| 41 | + * @requires vm.gc.G1 |
37 | 42 | * @run main/othervm/timeout=200 -Xmx256m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
|
38 | 43 | * -XX:+UseG1GC -XX:G1HeapRegionSize=2m -XX:+G1UseAdaptiveIHOP
|
39 | 44 | * -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread2.log
|
40 | 45 | * -Dtimeout=2 -DheapUsageMinBound=60 -DheapUsageMaxBound=90
|
41 | 46 | * -Dthreads=3 gc.stress.TestStressIHOPMultiThread
|
| 47 | + */ |
| 48 | + |
| 49 | +/* |
| 50 | + * @test |
| 51 | + * @requires vm.gc.G1 |
42 | 52 | * @run main/othervm/timeout=200 -Xmx256m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
|
43 | 53 | * -XX:+UseG1GC -XX:G1HeapRegionSize=4m -XX:-G1UseAdaptiveIHOP
|
44 | 54 | * -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread3.log
|
45 | 55 | * -Dtimeout=2 -DheapUsageMinBound=40 -DheapUsageMaxBound=90
|
46 | 56 | * -Dthreads=5 gc.stress.TestStressIHOPMultiThread
|
| 57 | + */ |
| 58 | + |
| 59 | +/* |
| 60 | + * @test |
| 61 | + * @requires vm.gc.G1 |
47 | 62 | * @run main/othervm/timeout=200 -Xmx128m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
|
48 | 63 | * -XX:+UseG1GC -XX:G1HeapRegionSize=8m -XX:+G1UseAdaptiveIHOP
|
49 | 64 | * -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread4.log
|
50 | 65 | * -Dtimeout=2 -DheapUsageMinBound=20 -DheapUsageMaxBound=90
|
51 | 66 | * -Dthreads=10 gc.stress.TestStressIHOPMultiThread
|
| 67 | + */ |
| 68 | + |
| 69 | +/* |
| 70 | + * @test |
| 71 | + * @requires vm.gc.G1 |
52 | 72 | * @run main/othervm/timeout=200 -Xmx512m -XX:G1HeapWastePercent=0 -XX:G1MixedGCCountTarget=1
|
53 | 73 | * -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:+G1UseAdaptiveIHOP
|
54 | 74 | * -Xlog:gc+ihop=debug,gc+ihop+ergo=debug,gc+ergo=debug:TestStressIHOPMultiThread5.log
|
|
0 commit comments