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

Remove ClearResponsibleAtSTW

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • 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.

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

              Created:
              Updated:
              Resolved: