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

Summary: Monitor Thread state changes exactly, not sample
Product: profiler Reporter: ehucka <ehucka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: test application

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.