Skip to content

Commit

Permalink
8208242: Add @requires to vmTestbase/gc/g1 tests
Browse files Browse the repository at this point in the history
Added classunloading must not be disabled and G1 is required to g1/unloading tests

Backport-of: dc45757
  • Loading branch information
Petra Mikova authored and shipilev committed Nov 15, 2021
1 parent 46d8523 commit f8553d3
Show file tree
Hide file tree
Showing 112 changed files with 336 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
* @comment generate HumongousTemplateClass and compile it to test.classes
* @run driver gc.g1.unloading.bytecode.GenClassesBuilder
*
* @requires vm.gc.G1
* @requires vm.opt.ClassUnloading != false
* @requires vm.opt.ClassUnloadingWithConcurrentMark != false
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
Expand Down