8268563: mark hotspot serviceability/jvmti tests which ignore external VM flags

Reviewed-by: sspitsyn
This commit is contained in:
Igor Ignatyev 2021-06-18 10:03:21 +00:00
parent 2f65d4021f
commit 5b198986ce
6 changed files with 8 additions and 2 deletions

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2021, 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
@ -29,6 +29,7 @@
* at ONLOAD and LIVE phases
* @requires vm.jvmti
* @requires vm.cds
* @requires vm.flagless
* @library /test/lib
* @compile CanGenerateAllClassHook.java
* @run main/othervm/native CanGenerateAllClassHook

@ -31,6 +31,7 @@ import jdk.test.lib.process.ProcessTools;
* @bug 8075030
* @summary JvmtiEnv::GetObjectSize reports incorrect java.lang.Class instance size
* @requires vm.jvmti
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.compiler

@ -26,6 +26,7 @@
* @library /test/lib
* @summary Test that redefinition reuses metaspace blocks that are freed
* @requires vm.jvmti
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @modules java.instrument
* jdk.jartool/sun.tools.jar

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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
@ -27,6 +27,7 @@
* @summary Test has_previous_versions flag and processing during class unloading.
* @requires vm.jvmti
* @requires vm.opt.final.ClassUnloading
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* @modules java.compiler

@ -26,6 +26,7 @@
* @bug 8198393
* @summary Instrumentation.retransformClasses(new Class[0]) should be NOP
* @requires vm.jvmti
* @requires vm.flagless
* @library /test/lib
* @modules java.instrument
* @compile RetransformClassesZeroLength.java

@ -27,6 +27,7 @@
* @summary Test recursively retransforms the same class. The test hangs if
* a deadlock happens.
* @requires vm.jvmti
* @requires vm.flagless
* @library /test/lib
* @modules java.instrument
* @compile TransformerDeadlockTest.java