Path: blob/master/test/hotspot/jtreg/vmTestbase/gc/g1/unloading/tests/unloading_compilation_level2_inMemoryCompilation_keep_cl/TestDescription.java
42901 views
/*1* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/222324/*25* @test26* @key stress randomness27*28* @summary converted from VM Testbase gc/g1/unloading/tests/unloading_compilation_level2_inMemoryCompilation_keep_cl.29* VM Testbase keywords: [gc, stress, stressopt, nonconcurrent, javac]30*31* @modules java.base/jdk.internal.misc32* @library /vmTestbase33* /test/lib34*35*36* @comment generate HumongousTemplateClass and compile it to test.classes37* @run driver gc.g1.unloading.bytecode.GenClassesBuilder38*39* @requires vm.gc.G140* @requires vm.opt.ClassUnloading != false41* @requires vm.opt.ClassUnloadingWithConcurrentMark != false42* @requires vm.flavor == "server" & (vm.opt.TieredStopAtLevel == null | vm.opt.TieredStopAtLevel >= 2)43* @build sun.hotspot.WhiteBox44* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox45* @run main/othervm46* -Xbootclasspath/a:.47* -XX:+UnlockDiagnosticVMOptions48* -XX:+WhiteBoxAPI49* -XX:+TieredCompilation50* -XX:+UseG1GC51* -XX:+ExplicitGCInvokesConcurrent52* -Xlog:gc:gc.log53* -XX:-UseGCOverheadLimit54* gc.g1.unloading.UnloadingTest55* -compilationNumber 156* -compilationLevel 257* -inMemoryCompilation58* -keep classloader59* -numberOfChecksLimit 460* -stressTime 18061*/62636465