Summary
Obsolete the unused AssertOnSuspendWaitFailure
and TraceSuspendWaitFailures
flags
Problem
The AssertOnSuspendWaitFailure
and TraceSuspendWaitFailures
flags became unused in JDK16 and should have been obsoleted at the time.
Solution
Obsolete the flags now so that their use will generate a warning.
Specification
> +++ b/src/hotspot/share/runtime/arguments.cpp
> // -------------- Obsolete Flags - sorted by expired_in --------------
> + { "AssertOnSuspendWaitFailure", JDK_Version::undefined(), JDK_Version::jdk(17), JDK_Version::jdk(18) },
> + { "TraceSuspendWaitFailures", JDK_Version::undefined(), JDK_Version::jdk(17), JDK_Version::jdk(18) },
> +++ b/src/hotspot/share/runtime/globals.hpp
> - product(bool, AssertOnSuspendWaitFailure, false, \
> - "Assert/Guarantee on external suspend wait failure") \
> - \
> - product(bool, TraceSuspendWaitFailures, false, \
> - "Trace external suspend wait failures") \
- csr of
-
JDK-8265313 Obsolete the unused AssertOnSuspendWaitFailure and TraceSuspendWaitFailures flags
- Resolved