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 213150 - Profiling does not respect the instrumentation scheme
Summary: Profiling does not respect the instrumentation scheme
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-05-29 12:00 UTC by J Bachorik
Modified: 2012-09-10 07:37 UTC (History)
1 user (show)

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 J Bachorik 2012-05-29 12:00:26 UTC
Profiling is started with "Total" instrumentation scheme no matter what user selects in the advanced settings panel.
Comment 1 Jiri Sedlacek 2012-05-31 12:41:09 UTC
Unfortunately not reproducible. Please reopen with more details.
Comment 2 Jiri Sedlacek 2012-09-04 14:37:48 UTC
Reproduced, caused by rewriting resource bundles to annotations. Regression, works fine in 7.1.

Steps: Create custom CPU profiling configuration, select Lazy instrumentation scheme, start profiling, stop profiling. Invoke multiple GCs, wait for some time. Reopen Profile dialog, selected Total instrumentation scheme.
Comment 3 Jiri Sedlacek 2012-09-04 14:43:55 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/caa70f4c9170.
Comment 4 Tomas Hurka 2012-09-05 11:43:49 UTC
Verified in profiler-main.
Comment 5 Tomas Hurka 2012-09-05 11:45:26 UTC
Transplanted to release72 branch

changeset:   239476:2518dae86e22
branch:      release72
user:        Jiri Sedlacek <jis@netbeans.org>
date:        Tue Sep 04 16:42:40 2012 +0200
summary:     Bugfix #213150 - compare Strings using equals()
Comment 6 Quality Engineering 2012-09-05 12:26:44 UTC
Integrated into 'releases', will be available in build *201209051408* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/2518dae86e22
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #213150 - compare Strings using equals()
(transplanted from caa70f4c9170e9435eaf61daf3b94f65d38bb0ee)
Comment 7 Quality Engineering 2012-09-06 02:09:20 UTC
Integrated into 'main-golden', will be available in build *201209060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/caa70f4c9170
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #213150 - compare Strings using equals()
Comment 8 Petr Cyhelsky 2012-09-10 07:37:10 UTC
unable to reproduce with patch