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 194359 - [70cat] Installer uses slow (non -client) default settings on multi-core boxes.
Summary: [70cat] Installer uses slow (non -client) default settings on multi-core boxes.
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 17:13 UTC by esmithbss
Modified: 2014-02-10 14:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2011-01-14 17:13:54 UTC
Product Version = NetBeans IDE Dev (Build 201101140000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

When installing the NetBeans IDE on a multi-core box, the installer uses the default java invocation which results in excessively slow installations due to the invocation of java with the default "-server" switch (due to the multi-core identification).

I recommend for the installation, forcing the -client command line option when the JVM is invoked on bundle.jar.
Comment 1 Ondrej Vrabec 2011-01-17 09:32:07 UTC
You can probably do that even now. Unpack the installer bundle and run it manually:
1) install_bundle --extract
2) java -client -jar bundle.jar
Comment 2 dlipin 2011-01-17 10:39:38 UTC
Or just "installer.exe -J-client" ;)
Comment 3 esmithbss 2011-01-19 05:18:46 UTC
While you are correct in that I can do this now, the steps to do this:

A) require the use of advanced command line parameters
B) are generally non-intuitive.  Especially for a windows platform.
C) require the use of the command line, or a command line style launcher.

All three of these are against the basic concept of maing the IDE easier and more performant.
Comment 4 esmithbss 2011-01-19 05:25:07 UTC
I cannot find any documentation that indicates the installer would pass the -J parameters on to the nested java invocation within the exe.  Where is it documented?
Comment 6 esmithbss 2011-01-20 03:39:57 UTC
Thanks for the info, but IMO if a user needs to know they are dealing with the NBILauncher to figure this out, they'll give up and move to another IDE before finding this info.

It needs to be more intuitive than this for someone to use it.
Comment 7 Quality Engineering 2011-01-27 08:34:47 UTC
Integrated into 'main-golden', will be available in build *201101270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/49aebb33b348
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #194359: Preventing AIOOB when methodId is greater than the provided array of method names
Comment 8 Quality Engineering 2011-01-27 20:45:08 UTC
Integrated into 'main-golden', will be available in build *201101271430* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/49aebb33b348
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #194359: Preventing AIOOB when methodId is greater than the provided array of method names
Comment 9 Jiri Rechtacek 2012-10-07 12:59:07 UTC
Assigned to new owner.