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 181268 - Speed-up threads sampling
Summary: Speed-up threads sampling
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 06:23 UTC by Tomas Hurka
Modified: 2010-03-04 22:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2010-02-26 06:23:14 UTC
Thread sampling, used by slowness detector and self-sampler action, can use new JDK 6 API ThreadMXBean.dumpAllThreads(). it is faster than previous variant with threadBean.getThreadInfo(threadBean.getAllThreadIds(),...)
Comment 1 Tomas Hurka 2010-02-26 06:26:06 UTC
Fixed in profiler-main
changeset:   161220:b8d07580d486
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Feb 26 14:24:47 2010 +0100
summary:     bugfix #181268, use JDK 6 API ThreadMXBean.dumpAllThreads()
Comment 2 Quality Engineering 2010-03-04 22:09:53 UTC
Integrated into 'main-golden', will be available in build *201003050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b8d07580d486
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #181268, use JDK 6 API ThreadMXBean.dumpAllThreads()