docs: void writeSections(boolean rewriteRequired) throws InternalLogException
    {
      if (tc.isEntryEnabled()) Tr.entry(tc, "writeSections",new java.lang.Object[]{this,new Boolean(rewriteRequired)});
  
      // If the parent recovery log instance has experienced a serious internal error then prevent
      // this operation from executing.
      if (_recLog.failed())
      {
        if (tc.isEntryEnabled()) Tr.exit(tc, "writeSections", "InternalLogException");
        throw new InternalLogException(null);
      }
  
      // Obtain an iterator that can be used to access each of the recoverable unit sections in turn.
      Iterator recoverableUnitSectionsIterator = _recoverableUnitSections.values().iterator();
      
      while (recoverableUnitSectionsIterator.hasNext())
      {
         SQLRecoverableUnitSectionImpl section = (SQLRecoverableUnitSectionImpl)(recoverableUnitSectionsIterator.next());
      
         // Now direct the recoverable unit section to write its content. If the recoverable unit 
         // section has no data to write then this will be a no-op.
         writeSection(section);
      }
   
     if (tc.isEntryEnabled()) Tr.exit(tc, "writeSections");
    }