I'm debugging a memory leak with JProfiler 7.2.3 in a process running JRE 1.6.0_51 (amd64):
$ java -version
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
JProfiler's Allocation Call Tree shows java.lang.Long
objects allocated in Object.wait
and sun.misc.Unsafe.park
. I drilled down into the JVM source code and did not find any memory allocation there. Anyone has any insight into this?
Here you can see JProfiler reporting allocation of objects by Object.wait
:
And by sun.misc.Unsafe.park
: