docs: public int originalFrame() {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.entry(this, tc, "originalFrame");
  
      int result;
      synchronized (getMessageLockArtefact()) {
  
        if ((contents == null) || reallocated) {
          result = -1;
        }
        else {
          result = length;
        }
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) JmfTr.exit(this, tc, "originalFrame", Integer.valueOf(result));
      return result;
    }