docs: protected int getNumberOfLockedMessages()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getNumberOfLockedMessages");
  
      int count = 0;
  
      synchronized(this)
      {
        LMEMessage message;
  
        message = firstMsg;
        while(message != null)
        {
          count++;
          message = message.next;
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getNumberOfLockedMessages", new Integer(count));
      return count;
    }