test/hotspot/jtreg/gc/g1/TestParallelAlwaysPreTouch.java
changeset 48883 0f1be3c7b6b2
parent 47216 71c04702a3d5
child 53523 4c5184c56dc2
equal deleted inserted replaced
48882:6b510cb0f14f 48883:0f1be3c7b6b2
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
       
    26  * @key gc regression
    26  * @bug 8169703
    27  * @bug 8169703
    27  * @summary Regression test to ensure AlwaysPreTouch with multiple threads works at mutator time.
    28  * @summary Regression test to ensure AlwaysPreTouch with multiple threads works at mutator time.
    28  * Allocates a few humongous objects that will be allocated by expanding the heap, causing concurrent parallel
    29  * Allocates a few humongous objects that will be allocated by expanding the heap, causing concurrent parallel
    29  * pre-touch.
    30  * pre-touch.
    30  * @requires vm.gc.G1
    31  * @requires vm.gc.G1
    31  * @key gc
       
    32  * @key regression
       
    33  * @run main/othervm -XX:+UseG1GC -Xms10M -Xmx100m -XX:G1HeapRegionSize=1M -XX:+AlwaysPreTouch -XX:PreTouchParallelChunkSize=512k -Xlog:gc+ergo+heap=debug,gc+heap=debug,gc=debug TestParallelAlwaysPreTouch
    32  * @run main/othervm -XX:+UseG1GC -Xms10M -Xmx100m -XX:G1HeapRegionSize=1M -XX:+AlwaysPreTouch -XX:PreTouchParallelChunkSize=512k -Xlog:gc+ergo+heap=debug,gc+heap=debug,gc=debug TestParallelAlwaysPreTouch
    34  */
    33  */
    35 
    34 
    36 public class TestParallelAlwaysPreTouch {
    35 public class TestParallelAlwaysPreTouch {
    37     public static void main(String[] args) throws Exception {
    36     public static void main(String[] args) throws Exception {