Using the jmap tool: the jmap utility tool (see Resources), delivered in the bin directory of the JDK, provides an option to request an HPROF dump from the running process. With Java 5, use.
使用jmap工具:这个JDK的bin目录中提供了一个jmap实用工具(参见参考资料),该工具提供一个选项来从正在运行的进程请求HPROF转储。
Through the rtdriver interface, a request can be made to generate a heap dump report at any time.
通过 rtdriver 接口,在任何时刻都可以请求生成 heap dump 报告。
When a request comes from a user to dump the data, each thread takes a lock and dumps it to a central place.
当收到来自用户的转储数据的请求时,每个线程获得一个锁,并将其转储到中心位置。
应用推荐