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 108851 - Slowdown of closing of IDE
Summary: Slowdown of closing of IDE
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-07-04 11:04 UTC by Jiri Rechtacek
Modified: 2008-04-28 13:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full thread dump (16.59 KB, text/plain)
2007-07-04 11:05 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2007-07-04 11:04:43 UTC
[Basic Build 070703]
When I closing IDE I have to wait for several seconds. The IDE main window is gone but I have to wait while Java process
is closing. By attached Full thread dump I guess css-visual module is suspected. It is doing initialization of
css.visual.ui.preview.CssPreviewPanel during IDE closing.

>System Info: 
  Product Version         = NetBeans IDE Dev (Build 070703)
  Operating System        = Linux version 2.6.20-16-386 running on i386
  Java; VM; Vendor        = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc.
  Java Home               = /space/shared/java/jdk1.6.0_02/jre
  System Locale; Encoding = us (nb); UTF-8
  Home Directory          = /space/home/jirka
  Current Directory       = /space/home/jirka
  User Directory          = /tmp/x
  Installation            = /space/source/nb_all/nbbuild/netbeans/nb6.0
                            /space/source/nb_all/nbbuild/netbeans/ide8
                            /space/source/nb_all/nbbuild/netbeans/java1
                            /space/source/nb_all/nbbuild/netbeans/xml1
                            /space/source/nb_all/nbbuild/netbeans/apisupport1
                            /space/source/nb_all/nbbuild/netbeans/profiler2
                            /space/source/nb_all/nbbuild/netbeans/harness
                            /space/source/nb_all/nbbuild/netbeans/platform7
Comment 1 Jiri Rechtacek 2007-07-04 11:05:55 UTC
Created attachment 44702 [details]
Full thread dump
Comment 2 Marek Fukala 2007-07-04 14:07:32 UTC
Stando, can you please explain to me why the top component is being deserialized on ide exit? I can probably partially
fix the issue by lazy creating the embedded xhtml panel in the TC, but this is IMHO not the right solution. Thanks for
your help.
Comment 3 Stanislav Aubrecht 2007-07-04 14:52:52 UTC
it's a bug in core/windowsystem which i've just fixed. pls verify that the issue is resolved and close it.

Checking in PersistenceHandler.java;
/cvs/core/windows/src/org/netbeans/core/windows/PersistenceHandler.java,v  <--  PersistenceHandler.java
new revision: 1.51; previous revision: 1.50
done
Checking in Central.java;
/cvs/core/windows/src/org/netbeans/core/windows/Central.java,v  <--  Central.java
new revision: 1.61; previous revision: 1.60
done
Checking in ModeImpl.java;
/cvs/core/windows/src/org/netbeans/core/windows/ModeImpl.java,v  <--  ModeImpl.java
new revision: 1.28; previous revision: 1.27
done
Checking in model/TopComponentSubModel.java;
/cvs/core/windows/src/org/netbeans/core/windows/model/TopComponentSubModel.java,v  <--  TopComponentSubModel.java
new revision: 1.18; previous revision: 1.17
done
Checking in model/ModeModel.java;
/cvs/core/windows/src/org/netbeans/core/windows/model/ModeModel.java,v  <--  ModeModel.java
new revision: 1.14; previous revision: 1.13
done
Checking in model/Model.java;
/cvs/core/windows/src/org/netbeans/core/windows/model/Model.java,v  <--  Model.java
new revision: 1.21; previous revision: 1.20
done
Checking in model/DefaultModeModel.java;
/cvs/core/windows/src/org/netbeans/core/windows/model/DefaultModeModel.java,v  <--  DefaultModeModel.java
new revision: 1.15; previous revision: 1.14
done
Checking in model/DefaultModel.java;
/cvs/core/windows/src/org/netbeans/core/windows/model/DefaultModel.java,v  <--  DefaultModel.java
new revision: 1.27; previous revision: 1.26
done
Comment 4 Marek Fukala 2007-07-04 15:06:38 UTC
verified - fixed. The CssPreviewTopComponent is now NOT initialized on IDE exit after applying changes in core/windows.
Thanks Stando!
Comment 5 Jiri Rechtacek 2007-07-04 15:34:24 UTC
Verified after updating core/windows module.