# HG changeset patch # User mchernov # Date 1490630754 -10800 # Node ID 5fdb409ba877d7655c9beb22e29bc8c93b79817f # Parent e12a4f6923c70ff64a0113bdda5432aa0212559c 8177551: [TESTBUG] TestHumongousClassLoader.java can fail on systems with non-g1 collector. Reviewed-by: dfazunen, tschatzl, sjohanss diff -r e12a4f6923c7 -r 5fdb409ba877 hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java --- a/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java Fri Mar 24 11:09:14 2017 -0700 +++ b/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java Mon Mar 27 19:05:54 2017 +0300 @@ -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 @@ -47,7 +47,7 @@ * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * - * @run main/othervm/timeout=240 -Xms256M -Xmx256M -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. + * @run main/othervm/timeout=240 -Xms256M -Xmx256M -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. * gc.g1.humongousObjects.ClassLoaderGenerator 1 * * @run main/othervm -Xms256M -Xmx256M -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.