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 211306 - Reset Results & Take Snapshot profiling points do not work reliably
Summary: Reset Results & Take Snapshot profiling points do not work reliably
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-04-17 09:11 UTC by Jiri Sedlacek
Modified: 2012-04-26 10:27 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 Sedlacek 2012-04-17 09:11:39 UTC
Steps:

  1/ AnagramGame project, Anagrams.java
  2/ Create Reset Results PP on line 261 and Take Snapshot PP on line 269
  3/ Start memory profiling, allocations only, each 1 object
  4/ Click the Guess button in AnagramGame window several times

Only some of the button clicks produce a snapshot:

  1. hit at 17:00:22.265, no data available
  2. hit at 17:00:28.583, no data available
  3. hit at 17:00:29.269, no data available
  4. hit at 17:00:29.940, open snapshot
  5. hit at 17:00:30.549, no data available
  6. hit at 17:00:31.079, open snapshot
  7. hit at 17:00:31.469, no data available
  8. hit at 17:00:32.467, open snapshot
  9. hit at 17:00:33.731, open snapshot
  10. hit at 17:00:35.899, open snapshot

Regression, works fine in 7.1.
Comment 1 Tomas Hurka 2012-04-25 14:58:25 UTC
Fixed in profiler-main


changeset:   219928:3a15464c4aba
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Apr 25 16:56:49 2012 +0200
summary:     bugfix #211306, write profiling point to global event buffer if ThreadInfo is not initialized

changeset:   219927:bcb37603dae7
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Apr 25 16:52:31 2012 +0200
summary:     bugfix #211306, fireCCTEstablished() before processing afterBatchCommands

changeset:   219926:a198479c9819
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Apr 25 16:51:32 2012 +0200
summary:     bugfix #211306, make sure resultsNotified field is set to false when doing reset results
Comment 2 Quality Engineering 2012-04-26 10:27:59 UTC
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a198479c9819
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #211306, make sure resultsNotified field is set to false when doing reset results