ObjectMonitor verify() and print() methods are empty

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: hotspot
    • b21

      ObjectMonitor verify() and print() methods are empty

      I failed to find any actual calls to print() and only one call to verify()

      verify is called from the following code in ObjectSynchronizer::verify() :

          for (int i = 1; i < _BLOCKSIZE; i++) {
            ObjectMonitor* mid = (ObjectMonitor *)(block + i);
            oop object = (oop)mid->object();
            if (object != NULL) {
              mid->verify();
            }
          }

      This code (in my understanding) does not do any checks and is dead too

            Assignee:
            Kirill Zhaldybin (Inactive)
            Reporter:
            Kirill Zhaldybin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: