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 38272

Summary: EditorCookie.close() is very slow
Product: utilities Reporter: _ pkuzel <pkuzel>
Component: PropertiesAssignee: Jan Stola <jstola>
Severity: blocker Keywords: PERFORMANCE
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 38273    
Attachments: Call stack

Description _ pkuzel 2003-12-22 17:11:36 UTC
because it wrongly calls StructHandler.reparseNow().

It slows down TODOs search process considerably.
Comment 1 _ pkuzel 2003-12-22 17:31:06 UTC
Created attachment 12653 [details]
Call stack
Comment 2 Marian Petras 2004-03-09 14:30:07 UTC

It seems that the problem is that reparsing is forced even if no
change was made in the file being closed.
Comment 3 Jan Stola 2004-06-14 10:58:25 UTC
I noticed that TODO search no longer uses this method
(it access the properties files directly). However,
the code has been modified to invoke parsing only
on modified files.