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 237130 - Calibration should run automatically when profiling project
Summary: Calibration should run automatically when profiling project
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-10-15 11:41 UTC by Jiri Skrivanek
Modified: 2014-02-14 02:51 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 Jiri Skrivanek 2013-10-15 11:41:33 UTC
When calibration data are not available and user starts profiling of project, it should start calibration automatically. To reproduce:

- remove machinedata* in <HOME>/.nbprofiler (on Windows e.g. C:\Users\jskrivanek\.nbprofiler)
- create sample Anagram project
- right-click project node and choose Profile
- click Run
- Error dialog appears and if you click OK it stops profiling but it should run calibration and continue profiling

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb)
Comment 1 Tomas Hurka 2014-02-06 11:10:53 UTC
It works fine in NB 7.1.
Comment 2 Tomas Hurka 2014-02-06 11:25:46 UTC
Fixed in profiler-main

changeset:   271107:48ae2ce89def
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Feb 06 12:23:00 2014 +0100
summary:     bugfix #237130, check and calibrate profiled JDK/JRE
Comment 3 Quality Engineering 2014-02-08 04:28:59 UTC
Integrated into 'main-silver', will be available in build *201402080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/48ae2ce89def
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #237130, check and calibrate profiled JDK/JRE
Comment 4 Quality Engineering 2014-02-14 02:51:43 UTC
Integrated into 'main-silver', will be available in build *201402140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e278b4e53485
User: Petr Cyhelsky <cyhelsky@netbeans.org>
Log: #241766 automatic calibration introduced by fix of #237130 should not be done for remote platform