Remove ClearResponsibleAtSTW

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 12
    • Component/s: hotspot
    • None
    • b20

      The ClearResponsibleAtSTW enum value in src/hotspot/share/runtime/synchronizer.cpp is set to 0 and only used in a single place:

      if (ClearResponsibleAtSTW) mid->_Responsible = NULL;

      Since the value is 0/false that code is effectively dead. The enum and the dead code should be removed.

            Assignee:
            Mikael Vidstedt
            Reporter:
            Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: