Is it possible in Java to ask the memory manager for a list of all currently allocated objects? The garbage collector must maintain a list like this somewhere. Maybe it's accessible?
Asked
Active
Viewed 59 times
2
-
Not through normal Java, but the debugging API probably has a way to do it. – user253751 Aug 08 '15 at 00:45