lsof is a good Unix tool showing all currently open files.
Does anyone know a similar tool that will show all open files inside a running JVM (via JVMTI or any similar interface)?
In this particular case, it would be enough for me to know which class is open. A method / line or even a whole chain for GC root would be fantastic, but the handler owner class has already become a good start.
I know that I can create a bunch of heaps, open it in the profiler and find it, but this is a tedious task, especially for large heaps.
source share