I know that JVM classified the memory in to three spaces. These are Old, Eden and perm.
Although there are lots of method to dumps heap space with object, I have not found out how to print objects in either Old or Eden space.
In other words, I would like to know which objects resides in Eden Space, Which objects resides Old Space and Perm Space?

Thanks in advance...