< prev index next > test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithG1.java
Print this page
/*
- * Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2026, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
import java.io.IOException;
/*
* @test TestGCBasherWithG1
* @key stress
- * @library /
+ * @library / /test/lib
* @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 -Xmx256m -XX:+UseG1GC gc.stress.gcbasher.TestGCBasherWithG1 120000
*/
< prev index next >