cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 153454 - Marker method under root method does not work correctly
: Marker method under root method does not work correctly
Status: VERIFIED FIXED
: profiler
Base
: 6.5
: All All
: P2 (vote)
: 6.7
Assigned To:
:
:
: 65fixes1-verified
: 65_PATCH1
:
:
  Show dependency treegraph
 
Reported: 2008-11-19 13:17 by
Modified: 2009-05-22 10:39 (History)
Issue Type: DEFECT
:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-11-19 13:17:45
If the marker method is invoked from the root method, data from marker method
is not included in live snapshot. In tutorial mentioned in issue #153450
Performance.doCountPrimeNumbers() is marker method. 

The workaround is to use total instrumentation instead of lazy one.
------- Comment #1 From 2008-11-21 14:01:03 -------
Fixed in profiler-main

changeset:   108180:b291a66f3ae8
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Nov 21 11:36:20 2008 +0100
summary:     bugfix #153454, perform instrumentation of nearest callees if
marker method is invoked under root method; emit MARKER_EXIT event even if 
marker method is invoked under root method - client side will handle it
differently

changeset:   108181:a79589d3ef5c
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Nov 21 11:48:58 2008 +0100
summary:     bugfix #153454, emit ROOT_ENTRY and ROOT_EXIT events if root
method is invoked from marker method
------- Comment #2 From 2008-11-22 04:46:51 -------
Integrated into 'main-golden', will be available in build *200811220201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b291a66f3ae8
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #153454, perform instrumentation of nearest callees if marker
method is invoked under root method; emit MARKER_EXIT event even if marker
method is invoked under root method - client side will handle it differently
------- Comment #3 From 2008-11-24 09:30:57 -------
The issue didn't pass the nomination process by nomination cut-off date. It has
been marked as 65fixes2-candidate.
------- Comment #4 From 2008-11-24 15:32:04 -------
VERIFIED in Build 200811240201
------- Comment #5 From 2008-11-25 13:29:02 -------
Based on the offline discussion, the issue will be part of 65patch1.

The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/70e5dcc1cd99
------- Comment #6 From 2008-11-25 13:29:43 -------
Based on the offline discussion, the issue will be part of 65patch1.

The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/70e5dcc1cd99