This allows external modules to add factory methods for implementations of this interface as extension functions of this companion object.
Dumps the heap. The implementation is expected to be blocking until the heap is dumped or heap dumping failed.