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 254122 - Incorrect reverse calls with merged threads
Summary: Incorrect reverse calls with merged threads
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-04 11:56 UTC by Tomas Hurka
Modified: 2015-08-08 02:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npss snapsot (17.75 KB, application/octet-stream)
2015-08-04 11:56 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-08-04 11:56:55 UTC
Created attachment 155164 [details]
npss snapsot

Steps to reproduce:
1) open attached npss file
2) enable 'Reverse calls' views
3) disable 'Forward calls' views
4) open 'selected threads' popup
5) deselect and select 'main' thread
6) select 'merge selected threads'
7) find 'org.netbeans.spi.project.libraries.support.ForwardingLibraryImplementation.<loaded> method in 'Reverse calls'
8) expand ForwardingLibraryImplementation.<loaded> node
9) the reverse call below in incorrect
    org.openide.util.RequestProcessor$Processor.run ()
      org.openide.util.lookup.Lookups.executeWith ()
        org.netbeans.modules.openide.util.GlobalLookup.execute ()
          org.openide.util.RequestProcessor$Task.run ()
          ....

  Correct reverse call should be:
    sun.management.ThreadImpl.dumpAllThreads ()
      org.netbeans.test.ide.BlacklistedClassesHandlerSingleton.publish ()
        java.util.logging.Logger.log ()
          java.util.logging.Logger.doLog ()
           ....
Comment 1 Jiri Sedlacek 2015-08-06 21:27:46 UTC
All merged reverse calls are computed incorrectly.
Comment 2 Jiri Sedlacek 2015-08-06 21:30:35 UTC
Fixed by http://hg.netbeans.org/profiler-main/rev/15951168b22e.
Comment 3 Quality Engineering 2015-08-08 02:02:28 UTC
Integrated into 'main-silver', will be available in build *201508080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/15951168b22e
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #254122 - all PrestimeCPUCCTNode subclasses must override createCopy()