Summary
The Hotspot option -XX:+Debugging disables assertions in some places and is a product option. It should never have been an option. It should be a global variable inside of Hotspot.
Problem
This flag was is inappropriately exposed in product mode as an option.
Solution
Remove the option, and use as a global variable to disable crash reports while debugging.
Specification
product(bool, Debugging, false, \
"Set when executing debug methods in debug.cpp " \
"(to prevent triggering assertions)") \
Should be removed.
- csr of
-
JDK-8253433 Remove -XX:+Debugging product option
-
- Resolved
-