mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8169643: [TESTBUG] GCBasher test fails with G1, CMS and Serial
Reviewed-by: tschatzl, iignatyev, mchernov
This commit is contained in:
parent
b9f711fc74
commit
3ccbc26ee9
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -31,7 +31,7 @@ import java.io.IOException;
|
|||
* @requires vm.gc.ConcMarkSweep
|
||||
* @requires vm.flavor == "server"
|
||||
* @summary Stress the CMS GC by trying to make old objects more likely to be garbage than young objects.
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx128m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseConcMarkSweepGC TestGCBasherWithCMS 120000
|
||||
*/
|
||||
public class TestGCBasherWithCMS {
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -31,7 +31,7 @@ import java.io.IOException;
|
|||
* @requires vm.gc.G1
|
||||
* @requires vm.flavor == "server"
|
||||
* @summary Stress the G1 GC by trying to make old objects more likely to be garbage than young objects.
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx128m -server -XX:+UseG1GC TestGCBasherWithG1 120000
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseG1GC TestGCBasherWithG1 120000
|
||||
*/
|
||||
public class TestGCBasherWithG1 {
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -31,7 +31,7 @@ import java.io.IOException;
|
|||
* @requires vm.gc.Serial
|
||||
* @requires vm.flavor == "server"
|
||||
* @summary Stress the Serial GC by trying to make old objects more likely to be garbage than young objects.
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx128m -server -XX:+UseSerialGC TestGCBasherWithSerial 120000
|
||||
* @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx256m -server -XX:+UseSerialGC TestGCBasherWithSerial 120000
|
||||
*/
|
||||
public class TestGCBasherWithSerial {
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue