Programmatically analyze java heap dump file

前端 未结 2 987
予麋鹿
予麋鹿 2021-01-03 07:27

I want to write a program (preferably in java) that will parse and analyze a java heap dump file (created by jmap). I know there are many great tools that already do so (jha

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-03 07:48

    I'm not familiar with jhat, but Eclipse's MAT is open source. Their SVN link is available, perhaps you could look through that for their parser, perhaps even use it.

提交回复
热议问题