--- old/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java 2016-01-14 16:54:37.650644649 +0300 +++ new/test/runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java 2016-01-14 16:54:37.490644643 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -36,6 +36,7 @@ import java.util.List; import java.util.Map; import jdk.test.lib.Asserts; +import jdk.test.lib.Platform; import optionsvalidation.JVMOption; import optionsvalidation.JVMOptionsUtils; @@ -84,6 +85,31 @@ 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");