It makes sense to mark them with @requires <something> to exclude incompatible cases only.
The vm.flagless could be used to mark tests which doesn't accept any additional vm flags.
- duplicates
-
JDK-8318097 Upodate jfr tests with corresponding requires flags
- Closed
- relates to
-
JDK-8340586 jdk/jfr/api/metadata/annotations/TestStackFilter.java fails with assert(check_alignment(result)) failed: address not aligned: 0x00007fe594afbabe
- Open
-
JDK-8340991 Update jdk/jfr/event/gc/stacktrace/* tests to don't accept incompatible vm flags
- Open
-
JDK-8340969 jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
- In Progress
-
JDK-8340826 Should not send unload notification for scratch classes
- Resolved
-
JDK-8340988 Update jdk/jfr/event/gc/collection tests to accept "CodeCache GC Threshold" as valid GC reason
- Resolved
-
JDK-8341131 Some jdk/jfr/event/compiler tests shouldn't be executed with Xcomp
- Resolved
-
JDK-8340964 Test jdk/jfr/jvm/TestPrimitiveClasses.java fails with -Xcomp
- New