< prev index next >

test/hotspot/jtreg/gc/shenandoah/TestResizeTLAB.java

Print this page

  1 /*
  2  * Copyright (c) 2020, Red Hat, Inc. All rights reserved.

  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *

 81 /*
 82  * @test id=adaptive
 83  * @key randomness
 84  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
 85  * @requires vm.gc.Shenandoah
 86  * @library /test/lib
 87  *
 88  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 89  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 90  *      -XX:+ShenandoahVerify
 91  *      -XX:+ResizeTLAB
 92  *      TestResizeTLAB
 93  *
 94  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 95  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 96  *      -XX:+ShenandoahVerify
 97  *      -XX:-ResizeTLAB
 98  *      TestResizeTLAB
 99  */
100 




















101 /*
102  * @test id=static
103  * @key randomness
104  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
105  * @requires vm.gc.Shenandoah
106  * @library /test/lib
107  *
108  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
109  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
110  *      -XX:+ShenandoahVerify
111  *      -XX:+ResizeTLAB
112  *      TestResizeTLAB
113  *
114  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
115  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
116  *      -XX:+ShenandoahVerify
117  *      -XX:-ResizeTLAB
118  *      TestResizeTLAB
119  */
120 

  1 /*
  2  * Copyright (c) 2020, Red Hat, Inc. All rights reserved.
  3  * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
  4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  5  *
  6  * This code is free software; you can redistribute it and/or modify it
  7  * under the terms of the GNU General Public License version 2 only, as
  8  * published by the Free Software Foundation.
  9  *
 10  * This code is distributed in the hope that it will be useful, but WITHOUT
 11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 13  * version 2 for more details (a copy is included in the LICENSE file that
 14  * accompanied this code).
 15  *
 16  * You should have received a copy of the GNU General Public License version
 17  * 2 along with this work; if not, write to the Free Software Foundation,
 18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 19  *
 20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 21  * or visit www.oracle.com if you need additional information or have any
 22  * questions.
 23  *

 82 /*
 83  * @test id=adaptive
 84  * @key randomness
 85  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
 86  * @requires vm.gc.Shenandoah
 87  * @library /test/lib
 88  *
 89  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 90  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 91  *      -XX:+ShenandoahVerify
 92  *      -XX:+ResizeTLAB
 93  *      TestResizeTLAB
 94  *
 95  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
 96  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
 97  *      -XX:+ShenandoahVerify
 98  *      -XX:-ResizeTLAB
 99  *      TestResizeTLAB
100  */
101 
102 /*
103  * @test id=generational
104  * @key randomness
105  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
106  * @requires vm.gc.Shenandoah
107  * @library /test/lib
108  *
109  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
110  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
111  *      -XX:+ShenandoahVerify
112  *      -XX:+ResizeTLAB
113  *      TestResizeTLAB
114  *
115  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
116  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
117  *      -XX:+ShenandoahVerify
118  *      -XX:-ResizeTLAB
119  *      TestResizeTLAB
120  */
121 
122 /*
123  * @test id=static
124  * @key randomness
125  * @summary Test that Shenandoah is able to work with(out) resizeable TLABs
126  * @requires vm.gc.Shenandoah
127  * @library /test/lib
128  *
129  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
130  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
131  *      -XX:+ShenandoahVerify
132  *      -XX:+ResizeTLAB
133  *      TestResizeTLAB
134  *
135  * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
136  *      -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
137  *      -XX:+ShenandoahVerify
138  *      -XX:-ResizeTLAB
139  *      TestResizeTLAB
140  */
141 
< prev index next >