Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253501

Remove -XX:+Debugging product option

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 16
    • hotspot
    • None
    • behavioral
    • minimal
    • No one should actually be using this option since it's for debugging.
    • add/remove/modify command line option

      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.

            coleenp Coleen Phillimore
            kbarrett Kim Barrett
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: