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 43294 - Long pause when saving file
Summary: Long pause when saving file
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: PERFORMANCE
Depends on: 42068
Blocks:
  Show dependency tree
 
Reported: 2004-05-14 18:03 UTC by _ tboudreau
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (7.04 KB, text/plain)
2004-05-14 18:04 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-05-14 18:03:04 UTC
Not sure if this belongs to the editor or not; saving files seems 
to block for quite a while in recent builds (sometimes as much 
as 30 seconds).  Not sure what's precisely has happened - this 
week's builds are almost unusably unresponsive.

Anyway, the attached stack trace shows an incredibly deep stack 
trace synchronously updating code completions after pressing 
ctrl-s, and opening jar files to do it.  Not sure if it's the root 
cause of the problem, but if code completion updating can block 
the EQ, it could be.
Comment 1 _ tboudreau 2004-05-14 18:04:02 UTC
Created attachment 14878 [details]
stack trace
Comment 2 Martin Roskanin 2004-05-17 09:53:35 UTC
probably caused by the method JCExtension.getPackageLength, where
pkgLength is retrieved from FO. For now I will not fix it because this
issue should be fixed within an integration of meta_stavbicka to trunk.
Adding dependency on issue #42068. 
Comment 3 Martin Roskanin 2004-06-07 12:01:07 UTC
I am closing it... meta_stavbicka was merged to maintrunk