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 194920 - Internally spawned processes don't carry the -J-client flag from invoker command line
Summary: Internally spawned processes don't carry the -J-client flag from invoker comm...
Status: RESOLVED INCOMPLETE
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 16:48 UTC by esmithbss
Modified: 2011-11-10 11:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2011-01-31 16:48:32 UTC
[ JDK VERSION : 1.6.22 ]

When installing the IDE, if the installer is invoked using the -J-client
parameter to jam the -client option into the installation, then this value
needs to be used for all invocations of the jvm within the installer.  This
includes not only the installer, but the TestJVM processes and any other child
processes which are spawned.

This is currently not the case.
Comment 1 Ondrej Vrabec 2011-02-01 07:42:45 UTC
How many java child processes are launched during the installation? Installing the full build starts several java processes testing JDK installation and several processes at the end. How does this make the installation slower? Are you trying to say that the installation hangs while it's running the simple TestJVM? Please attach the installer output, so i can see where it hangs, thanks
Comment 2 esmithbss 2011-02-02 01:04:41 UTC
Yes, the TestJVM process is extremely slow on my machine.  Even my big machine.  What happens is the default invocation of Java assumes -server since I have 2 cores and Windows virtualizes them to 4 so it looks like it's a massive quad core box.  But java -server is excessively slow when performing many tasks (I don't know why, but it is).  That is compounded by the TestJVM's being serialized (I have a few installed because I support so many things).

So some parallel processing and -client will speed things up tremendously.

I'll attach an install log once that machine finishes it's current processing.
Comment 3 Jiri Rechtacek 2011-11-10 11:28:48 UTC
esmithbss says: I'll attach an install log once that machine finishes it's current processing.