FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to convert externally generated thread dump to Profiler Snapshot File .NPS format?

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
SebTardif



Joined: 29 Oct 2009
Posts: 2

PostPosted: Thu Oct 29, 2009 1:54 pm    Post subject: How to convert externally generated thread dump to Profiler Snapshot File .NPS format? Reply with 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?
Back to top
View user's profile Send private message
Jiri Sedlacek
Posted via mailing list.





PostPosted: Thu Oct 29, 2009 2:22 pm    Post subject: How to convert externally generated thread dump to Profiler Snapshot File .NPS format? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB