Actually, when you start generating the heap, visualVM
will call the GC
just before start collecting the objects to determine the live objects. then collecting them.
So if your Heap is not showing any instance of SomeDomainClass
class, then yes the SomeDomainClass
instants are short-live, in other world, these instances didn't have any reference while generating the heap.