< prev index next >

test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 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. --- 1,7 ---- /* ! * Copyright (c) 2015, 2016, 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.
*** 34,43 **** --- 34,44 ---- import java.util.ArrayList; import java.util.List; import java.util.Map; import jdk.test.lib.Asserts; + import jdk.test.lib.Platform; import optionsvalidation.JVMOption; import optionsvalidation.JVMOptionsUtils; public class TestOptionsWithRanges {
*** 82,91 **** --- 83,117 ---- setAllowedExitCodes("SharedReadOnlySize", 2); setAllowedExitCodes("SharedMiscDataSize", 2); setAllowedExitCodes("SharedMiscCodeSize", 2); /* + * JDK-8145204 + * Temporarily remove testing of max range for ParGCArrayScanChunk because + * JVM can hang when ParGCArrayScanChunk=4294967296 and ParallelGC is used + */ + excludeTestMaxRange("ParGCArrayScanChunk"); + + /* + * JDK-8145190 + * Temporarily remove testing of max range for MinTLABSize on 32 bit platforms + * because it can cause overflow problem with CMS GC + */ + if (Platform.is32bit()) { + excludeTestMaxRange("MinTLABSize"); + } + + /* + * JDK-8145192 + * Temporarily remove testing of max range for MarkSweepAlwaysCompactCount + * on 64 bit platforms because it cause overflow for Parallel GC + */ + if (Platform.is64bit()) { + excludeTestMaxRange("MarkSweepAlwaysCompactCount"); + } + + /* * Remove CICompilerCount from testing because currently it can hang system */ excludeTestMaxRange("CICompilerCount"); /*
< prev index next >