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 TestIHOPStatic 26 * @bug 8148397 27 * @summary Test checks concurrent cycle initiation which depends on IHOP value. 28 * @requires vm.gc=="G1" | vm.gc=="null" 29 * @requires vm.opt.FlightRecorder != true 30 * @requires vm.opt.ExplicitGCInvokesConcurrent != true 31 * @library /testlibrary / 32 * @modules java.base/jdk.internal.misc 33 * @modules java.management 34 * @build gc.g1.ihop.TestIHOPStatic 35 * gc.g1.ihop.lib.IhopUtils 36 * @run driver/timeout=240 gc.g1.ihop.TestIHOPStatic 37 */ 38 package gc.g1.ihop; 39 40 import java.util.ArrayList; 41 import java.util.Collections; 42 import java.util.List; 43 44 import jdk.test.lib.OutputAnalyzer; 45 import jdk.test.lib.ProcessTools; 46 import jdk.test.lib.Utils; 47 48 import gc.g1.ihop.lib.IhopUtils; 49 | 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 TestIHOPStatic 26 * @bug 8148397 27 * @summary Test checks concurrent cycle initiation which depends on IHOP value. 28 * @requires vm.gc == "G1" | vm.gc == "null" 29 * @requires vm.flightRecorder != true 30 * @requires vm.opt.ExplicitGCInvokesConcurrent != true 31 * @library /testlibrary / 32 * @modules java.base/jdk.internal.misc 33 * @modules java.management 34 * @build gc.g1.ihop.TestIHOPStatic 35 * gc.g1.ihop.lib.IhopUtils 36 * @run driver/timeout=240 gc.g1.ihop.TestIHOPStatic 37 */ 38 package gc.g1.ihop; 39 40 import java.util.ArrayList; 41 import java.util.Collections; 42 import java.util.List; 43 44 import jdk.test.lib.OutputAnalyzer; 45 import jdk.test.lib.ProcessTools; 46 import jdk.test.lib.Utils; 47 48 import gc.g1.ihop.lib.IhopUtils; 49 |