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

Summary: CompilationInfo held in Refactoring Context
Product: javaee Reporter: Jan Becicka <jbecicka>
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic, pjiricka
Priority: P2 Keywords: PERFORMANCE
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 220877    
Attachments: path to GC root

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