Is it possible to load objects from an .hprof file back into a Java program? I created a heap dump using VisualVM. I'm trying to use the dump not for analysis, but as a way to load an array of objects that I had in the program at that moment back into a Java program.
If the answer is no, then why not? Is it at least possible in theory? Or does the heap dump lose some information about the objects such that they cannot be recreated.