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 234718 - Take Heap Dump profiling point fails when mixing project/custom location
Summary: Take Heap Dump profiling point fails when mixing project/custom location
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 11:49 UTC by Jiri Sedlacek
Modified: 2014-01-21 02:57 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 2013-08-21 11:49:39 UTC
Create two Take Snapshot - Heap Dump profiling points, one saving data to project, the other to a custom directory. The second one is always reported as hit with no data available.

Caused by wrong implementation of TakeHeapdumpProfilingPointHandler which works as a singleton, first profiling point's target location is used for all Take Heap Dump profiling point hits.
Comment 1 Tomas Hurka 2014-01-16 14:35:43 UTC
Fixed in profiler-main

changeset:   270088:021706ca527a
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jan 16 15:32:32 2014 +0100
summary:     bugfix #234718, TakeHeapdumpProfilingPointHandler cannot be singleton
Comment 2 Quality Engineering 2014-01-21 02:57:16 UTC
Integrated into 'main-silver', will be available in build *201401210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/021706ca527a
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #234718, TakeHeapdumpProfilingPointHandler cannot be singleton