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 241876 - Timed- and Triggered- Profiling Points show wrong last hit
Summary: Timed- and Triggered- Profiling Points show wrong last hit
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: PC All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-14 13:00 UTC by Jiri Skrivanek
Modified: 2014-02-17 12:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot. (29.24 KB, image/png)
2014-02-14 13:00 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-02-14 13:00:09 UTC
Created attachment 145199 [details]
Screen shot.

When I configure timed and triggered profiling points there is wrong date of the last hit. To reproduce:

- Create Anagram sample project
- Open Anagrams.java source in editor. Push Shift key and press F9 key several times until Timed Take Snapshot is chosen. Release Shift key. Customize Profiling Point dialog is shown.
- Choose Heap dump option, To directory option and enter some directory. Choose Take every option, ensure that 1 minute is chosen. Press OK.
- Press Add Profiling Point button in "Profiling Points" window. Select Triggered Take Snapshot. Click Next.
- Select surviving generations in "Take when" list, enter 4 generations, choose Take every time option. Click Finish.
- Right-click AnagramGame project node and choose Profile.
- Select Memory - > Analyze Memory -> Advanced.
- Press Run button and wait until the application is started.
- Open VM Telemetry Overview window and click Run Garbage Collector until surviving generations exceeds 4.
- Open "Profiling Points" window. There should be one hit for "triggered take snapshot" profiling point and several hits for "timed take snapshot" profiling point. But date of the last hit is always 19.1.2014 14:01:50 (see screen shot).

Product Version: NetBeans IDE Dev (Build 201402140001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Jiri Sedlacek 2014-02-14 14:49:35 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/c15f599bfa7a.
Comment 2 Quality Engineering 2014-02-17 09:03:22 UTC
Integrated into 'main-silver', will be available in build *201402170649* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c15f599bfa7a
User: Jiri Sedlacek <jis@netbeans.org>
Log: #241876 - Timed/Triggered results have local timestamp