NetBeans Forums

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

High level questions about sampling profiler

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
Yang Zhang
Posted via mailing list.





PostPosted: Thu Aug 06, 2009 11:21 pm    Post subject: High level questions about sampling profiler Reply with quote

Hi, I have a few high-level questions about the internals sample based
profiling.

If I understand correctly, the Netbeans Profiler currently has a
sampling profiler, but instrumentation is still required for some
reason. Why is instrumentation required? Will the Netbeans Profiler
ever feature a pure sampling based profiler?

Currently, when the results show that a method is taking up n% of the
CPU time, does that mean it's appearing in n% of all sampled stack
traces? Or in n% of the samples?

How do you differentiate among stack traces of threads that are
blocking, that are executing, and that are executable but not executing?
How do multiple CPUs factor in?

How does the sampling profiler work - does it use

- Thread.getAllStackTraces(),
- ThreadMXBean (getAllThreadIds(), getThreadInfo()), or
- JVMTI?

If using JVMTI, do you use GetStackTrace() or AsyncGetCallTrace()[1]?

Thanks in advance for any answers!

[1]
http://jeremymanson.blogspot.com/2007/05/profiling-with-jvmtijvmpi-sigprof-and.html
--
Yang Zhang
http://www.mit.edu/~y_z/

---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
SebTardif



Joined: 29 Oct 2009
Posts: 2

PostPosted: Thu Oct 29, 2009 3:13 pm    Post subject: Did you get some answers? Reply with quote

Did you get some answers? I have the same questions.
Back to top
preety



Joined: 16 Nov 2009
Posts: 3
Location: India

PostPosted: Mon Nov 16, 2009 12:43 am    Post subject: Reply with quote

Hi,

Need to know the same, if finding any, do reply us.
Back to top
Abigaisilverkimmy



Joined: 30 Dec 2009
Posts: 1
Location: usa

PostPosted: Wed Dec 30, 2009 9:41 am    Post subject: Reply with quote

I think that is very nice details available here........
Back to top
markwright789



Joined: 30 May 2011
Posts: 15

PostPosted: Mon May 30, 2011 9:52 am    Post subject: Reply with quote

If I understand correctly, the Netbeans Profiler presently has a sampling profiler, but instrumentality is however required for some reason. I have a few high-level questions about the internals sample based profiling.
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo