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 254932 - Leaking editor Caret instance
Summary: Leaking editor Caret instance
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks: 239360
  Show dependency tree
 
Reported: 2015-09-02 13:14 UTC by Miloslav Metelka
Modified: 2015-09-09 01:23 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 Miloslav Metelka 2015-09-02 13:14:23 UTC
I'm hunting memory leaks and one of the queries shows that Caret instance is held by AnnotationBar even when the original component no longer holds that caret instance. This is not a serious leak but I'll fix it because it will no longer be necessary to inspect this particular scenario.
Comment 1 Miloslav Metelka 2015-09-02 13:25:19 UTC
http://hg.netbeans.org/jet-main/rev/0687fe5a0abc
Comment 2 Quality Engineering 2015-09-03 01:24:53 UTC
Integrated into 'main-silver', will be available in build *201509030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0687fe5a0abc
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #254932 - Leaking editor Caret instance.
Comment 3 Ondrej Vrabec 2015-09-07 14:44:13 UTC
Applying the fix to other annotation bars we have...

Fix: http://hg.netbeans.org/core-main/rev/7cd517d21ef7
Comment 4 Ondrej Vrabec 2015-09-07 14:46:38 UTC
one more change...

Fix: http://hg.netbeans.org/core-main/rev/7242c3e7f9fc
Comment 5 Quality Engineering 2015-09-09 01:23:58 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7cd517d21ef7
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #254932 - Leaking editor Caret instance
Transplant Mila's fix to all annotation bars.