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 221153 - CompilationInfo held in Refactoring Context
Summary: CompilationInfo held in Refactoring Context
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 220877
  Show dependency tree
 
Reported: 2012-10-31 09:50 UTC by Jan Becicka
Modified: 2012-11-01 02:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
path to GC root (2.13 KB, text/plain)
2012-10-31 11:26 UTC, Tomas Hurka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2012-10-31 09:50:58 UTC
CompilationInfo cannot be held. Please don't add it into Refactoring Context:
JSFRefactoringUtils.java:170
Comment 1 Jan Becicka 2012-10-31 09:53:53 UTC
Ralph, we should add some asserts, that CompilationInfos are not added into refactoring context.
Comment 2 Tomas Hurka 2012-10-31 11:24:54 UTC
There are 11 instances of SymTab.
Instances #1, #2, #3, #4, #5, #7 are held in memory by refactoring. See attached file for path to GC root.
Comment 3 Tomas Hurka 2012-10-31 11:26:17 UTC
Created attachment 126847 [details]
path to GC root
Comment 4 Martin Fousek 2012-10-31 14:34:15 UTC
Thanks for the issue. Should be resolved in the web-main #f947bd4b4ddb. CompilationInfo is not stored in the context any more.
Comment 5 Quality Engineering 2012-11-01 02:44:17 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f947bd4b4ddb
User: Martin Fousek <marfous@netbeans.org>
Log: #221153 - CompilationInfo held in Refactoring Context