code: protected void writeLogRecord(LogRecord logRecord) /* @MD18931A */
      {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "writeLogRecord", logRecord);
  
          if (!_isMapped)
          {
              synchronized (_pendingWriteList)
              {
                  // Add the logrecord to the ordered list of "pending writes".
                  // Find where it belongs, then add it.  
                  _pendingWriteList.add(logRecord);
              }
          }
  
          // if we've got here then forces prior to shutdown will ensure log records added
          // are really in the file.
          _outstandingWritableLogRecords.decrementAndGet();
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "writeLogRecord");
      }
docs: Do any necessary under the covers work to write the LogRecord.
  If the FileChannel is mapped by a MappedByteBuffer, then there is nothing
  to do here, as the data has already been written to the FileChannel.
  If the FileChannel is represented by a DirectByteBuffer, then write the
  LogRecord into an ordered list of "pending writes" that will eventually be
  written to the FileChannel and back to disk on the next force().
  Synchronize the inserts into the pendingWrites list.