Module openj9.dtfj

Class PHDImage

    • Method Detail

      • getCreationTime

        public long getCreationTime()
                             throws DataUnavailable
        Use the filename if of the form heapdump.yyyyMMdd.HHmmss.pid.seq.phd else the file date
        Specified by:
        getCreationTime in interface Image
        Returns:
        the image creation time in milliseconds since 1970
        Throws:
        DataUnavailable
      • registerReader

        public void registerReader​(HeapdumpReader reader)
        Register a HeapdumpReader as needing to be closed when Image.close() is called on this Image.
      • unregisterReader

        public void unregisterReader​(HeapdumpReader reader)
        Unregister a HeapdumpReader so it no longer needs to be closed. This should only be called by HeapdumpReader.close() to make sure that we don't leak readers.