| View previous topic :: View next topic |
| Author |
Message |
SebTardif
Joined: 29 Oct 2009 Posts: 2
|
Posted: Thu Oct 29, 2009 1:54 pm Post subject: How to convert externally generated thread dump to Profiler Snapshot File .NPS format? |
|
|
We are used to profile our production application by generating a serie of thread dumps. Then statistically, the methods appearing the most often in the thread dump are popular and/or are the slower, and should be optimized first.
How can I convert them to .NPS file format?
Any useful entry points?
Should NetBeans support a documented format? |
|
| Back to top |
|
 |
Jiri Sedlacek Posted via mailing list.
|
Posted: Thu Oct 29, 2009 2:22 pm Post subject: How to convert externally generated thread dump to Profiler Snapshot File .NPS format? |
|
|
Hi,
there's no support available for converting external thread dumps to .nps snapshots. You may find
the VisualVM tool useful (https://visualvm.dev.java.net), it provides a Sampler plugin which
internally takes thread dumps and presents them the same way as the NetBeans profiler incl. saving
to .nps.
Also, since both NetBeans profiler and VisualVM are opensource you can check the sources and
implement the thread dumps -> .nps convertor yourself - basically the code is already there, it just
needs to be modified to support external thread dumps.
Jiri
SebTardif wrote:
| Quote: | We are used to profile our production application by generating a serie of thread dumps. Then statistically, the methods appearing the most often in the thread dump are popular and/or are the slower, and should be optimized first.
How can I convert them to .NPS file format?
Any useful entry points?
Should NetBeans support a documented format?
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
|
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|