parameters: (path, log_header='Loading a heap profile dump: ')
return_statement: return dump
docstring: Loads a heap profile dump.
  
      Args:
          path: A file path string to load.
          log_header: A preceding string for log messages.
  
      Returns:
          A loaded Dump object.
  
      Raises:
          ParsingException for invalid heap profile dumps.
docstring_summary: Loads a heap profile dump.
docstring_tokens: Loads a heap profile dump .
function: def load(path, log_header='Loading a heap profile dump: '):
      """Loads a heap profile dump.
  
      Args:
          path: A file path string to load.
          log_header: A preceding string for log messages.
  
      Returns:
          A loaded Dump object.
  
      Raises:
          ParsingException for invalid heap profile dumps.
      """
      dump = Dump(path, os.stat(path).st_mtime)
      with open(path, 'r') as f:
        dump.load_file(f, log_header)
      return dump
function_tokens: def load ( path , log_header = 'Loading a heap profile dump: ' ) : dump = Dump ( path , os . stat ( path ) . st_mtime ) with open ( path , 'r' ) as f : dump . load_file ( f , log_header ) return dump