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 */
23
24 /**
25 * @test TestPrintRegionRememberedSetInfo
26 * @key gc
27 * @bug 8014240
28 * @summary Test output of G1PrintRegionRememberedSetInfo
29 * @library /testlibrary
30 * @run main TestPrintRegionRememberedSetInfo
31 * @author thomas.schatzl@oracle.com
32 */
33
34 import com.oracle.java.testlibrary.*;
35 import java.lang.Thread;
36 import java.util.ArrayList;
37 import java.util.Arrays;
38
39 class RunAndWaitForMarking {
40 public static void main(String[] args) {
41 System.gc();
42 try {
43 Thread.sleep(200);
44 } catch (InterruptedException e) {
45 }
46 }
47 }
|
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 */
23
24 /**
25 * @test TestPrintRegionRememberedSetInfo
26 * @key gc
27 * @bug 8014240
28 * @requires vm.gc=="G1" | vm.gc=="null"
29 * @summary Test output of G1PrintRegionRememberedSetInfo
30 * @library /testlibrary
31 * @run main TestPrintRegionRememberedSetInfo
32 * @author thomas.schatzl@oracle.com
33 */
34
35 import com.oracle.java.testlibrary.*;
36 import java.lang.Thread;
37 import java.util.ArrayList;
38 import java.util.Arrays;
39
40 class RunAndWaitForMarking {
41 public static void main(String[] args) {
42 System.gc();
43 try {
44 Thread.sleep(200);
45 } catch (InterruptedException e) {
46 }
47 }
48 }
|