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 201201 - Startup degradation at "Loading cached objects..."
Summary: Startup degradation at "Loading cached objects..."
Status: VERIFIED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-08-22 08:34 UTC by Jiri Skrivanek
Modified: 2012-05-09 07:09 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logs with -J-Dorg.netbeans.log.startup=print. (43.79 KB, application/x-sdlc)
2011-08-24 12:24 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-08-22 08:34:11 UTC
I noticed more time is spent in "Loading cached objects..." during IDE startup. Roughly measured on my watch whole startup of build 201108170601 takes 7 seconds, startup of build 201108210601 takes 12 seconds. Maybe some recent OSGi work? I am attaching profiler snapshots and log messages.

Product Version: NetBeans IDE Dev (Build 201108170601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)

Product Version: NetBeans IDE Dev (Build 201108210601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Jiri Skrivanek 2011-08-22 08:56:23 UTC
Snapshots internally at http://129.157.78.97/data/transfer/jskrivanek/snapshots.zip.
Comment 2 Petr Cyhelsky 2011-08-22 11:19:15 UTC
It seems netbinox is innocent in this case, because both builds contain it. Will try to investigate it further...
Comment 3 Jiri Skrivanek 2011-08-24 12:24:11 UTC
Created attachment 110178 [details]
Logs with -J-Dorg.netbeans.log.startup=print.
Comment 4 Petr Cyhelsky 2011-10-21 09:01:27 UTC
This degradation was after all caused by introduction of netbinox and mylyn. As it is caused by loading of osgi bundles it seems it can't be easily get rid of. The degradation was this big only on windows on first start, on other operating systems it was only ~1s and it was subsequently more than compensated by some of jarda's startup speed-ups. Right now even first start on windows is on par with 7.0 as these netbinox + mylyn related degradations were compensated by fix of Issue #200848.
=>
I'm closing this issue as wontfix.
Comment 5 hatanet27 2012-05-08 19:33:04 UTC
on NetBeans 7.1.2, the issue persists whereby on start-up the splash screen load until "loading cached objects"... then is fatally stops and wont restart or continue beyond that point.   (running on fedora 17, had previously laoded the Android SDK + plugin modules, and Scala framework)
Comment 6 Jesse Glick 2012-05-08 23:08:06 UTC
hatanet27 - this issue is about a _slowdown_, not a _halt_. Your problem is likely unrelated. Please file separately, and include your messages.log file; most likely one of your unsupported plugins is broken and preventing normal startup, but this cannot be diagnosed without a log.