This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 60286 - Monitor Thread state changes exactly, not sample
Summary: Monitor Thread state changes exactly, not sample
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 14:07 UTC by ehucka
Modified: 2011-06-07 16:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
test application (5.64 KB, application/octet-stream)
2005-06-20 14:09 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-06-20 14:07:54 UTC
build 050620, linux FC3, jdk 1.5.0_04

I profiled the attached application to monitor its threads. It is simple
producer-consumer example. There are threads which are evidently active (see
application output) but the profiler results show that they are mostly sleeping.
Comment 1 ehucka 2005-06-20 14:09:22 UTC
Created attachment 22800 [details]
test application
Comment 2 iformanek 2005-06-21 13:55:52 UTC
Eman, please try to reproduce in M6
Comment 3 iformanek 2005-11-30 15:24:38 UTC
This is caused by the fact that the threads states are sampled, and in your 
application the state changes fall below the sample rate. Changing to feature 
for 2.0 to add exact state changes monitoring.
Comment 4 Tomas Hurka 2009-04-08 12:56:27 UTC
Milestone cleanup: future->next
Comment 5 Quality Engineering 2010-09-08 03:31:24 UTC
Integrated into 'main-golden', will be available in build *201009080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f3894ec07511
User: Tomas Hurka <thurka@netbeans.org>
Log: issue #60286, extact thread state monitoring added
Comment 6 Tomas Hurka 2011-06-07 16:04:48 UTC
Implemented for NB 7.0.