Summary
Obsolete the unused UseOprofile
flag.
Problem
The UseOprofile
flag was copied from Linux when the macOS port was done, but is actually unused on macOS/BSD.
Solution
Obsolete the UseOprofile
flag in JDK 16 and expire it in JDK 17.
Specification
Remove the flag definition from src/hotspot/os/bsd/globals_bsd.hpp
:
- product(bool, UseOprofile, false \
- "enable support for Oprofile profiler") \
Add the flag to the obsoletion section of the special flag table:
+ { "UseOprofile", JDK_Version::undefined(), JDK_Version::jdk(16), JDK_Version::jdk(17) },
- csr of
-
JDK-8247292 Obsolete unused UseOprofile flag on BSD
- Resolved