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.
If you run the IDE under strace you can see sequences of call like this one: stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/org-netbeans-api-progress.jar", {st_mode=S_IFREG|0644, st_size=99867, ...}) = 0 stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/org-netbeans-api-progress.jar", {st_mode=S_IFREG|0644, st_size=99867, ...}) = 0 stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress_nb_en_US.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress_nb_en.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress_nb.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress_en_US.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress_en.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/locale/org-netbeans-api-progress.jar", 0xb16eca64) = -1 ENOENT (No such file or directory) stat64("/opt/devel/nb/nb_all/nbbuild/netbeans/platform6/modules/patches/org-netbeans-api-progress", 0xb16eca8c) = -1 ENOENT (No such file or directory) It might be easier to check for locale directory first. Usualy it is not there and we can save 5 * 230 (#of modules) stat calls.
/shared/data/ccvs/repository/core/bootstrap/src/org/netbeans/Util.java,v <-- Util.java new revision: 1.4; previous revision: 1.3 actualy four modules in nb cluster where we have locale so 5 * 226 calls avoided.
Yarda helped me debug an issue which has been introduced by a bugfix for this issue in NB 6.0 source base after 5.x codeline have been branched. Symptoms: NetBeans *IDE* shows main window title "NetBeans Platform 20071010" when I tried to put multilanguage localized data into platform7/locale subdirectory. The incorrect title is loaded from jarfile platform7/modules/org-netbeans-core-windows.jar while completely ignoring IDE branding jarfile found in different cluster - nb6.0/modules/locale/org-netbeans-core-windows_nb.jar Steps to reproduce: $ cd /tmp $ mkdir nb_all $ cd nb_all $ cvs -d:pserver:anoncvs@cvs.netbeans.org:/cvs co nbbuild $ cd nbbuild $ ant checkout $ ant $ mkdir netbeans/platform7/modules/locale $ ant tryme or simply 'mkdir netbeans/platform7/modules/locale' and restart your IDE. Please redo/fix the fix for this issue.
Yarda asked me to asssign this issue to pnejedly :-).
Reassigning per agreement.
#71366: Reverting code that was overoptimized. IDE:------------------------------------------------- IDE: [11.10.07 14:06] Committing started Checking in Util.java; /shared/data/ccvs/repository/core/bootstrap/src/org/netbeans/Util.java,v <-- Util.java new revision: 1.13; previous revision: 1.12 done IDE: [11.10.07 14:06] Committing finished Making P4 again.
You broke ModuleManagerTest with this patch. I have tried to fix the test while preserving the optimization. Checking in Util.java; /shared/data/ccvs/repository/core/bootstrap/src/org/netbeans/Util.java,v <-- Util.java new revision: 1.15; previous revision: 1.14 done
moving opened issues from TM <= 6.1 to TM=Dev
Pavel, I have a feeling you fixed this for 6.1, didn't you? If not, reassign back to me. Thanks.
Yes, this should be fixed. I've just tested current trunk build and there are no stat64 system calls.