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.
Currently I use full IDE and I don't use C or C++ projects. Scenario: - Launch Dtrace script: dtrace -qn 'syscall::exec*:return { printf("%Y %s %s\n",walltimestamp,curpsinfo->pr_fname, curpsinfo->pr_psargs); }' - Open Java file in NetBeans editor - Call context menu in editor - Wait 5 seconds - Check Dtrace output ===> 2016 Oct 6 18:10:01 jspawnhelper 396:410 2016 Oct 6 18:10:01 pty /var/tmp/dlight_sova/53e6af52/0644676033/pty --no-pty /bin/sh /var/tmp/dlight_s 2016 Oct 6 18:10:02 ksh93 /bin/sh /var/tmp/dlight_sova/53e6af52/sendto.1678152327.8692787425451500937 /ex 2016 Oct 6 18:10:03 ksh93 /bin/sh /var/tmp/dlight_sova/53e6af52/sendto.720080985.1944758128685490846 /exp 2016 Oct 6 18:10:03 ksh93 /bin/sh /var/tmp/dlight_sova/53e6af52/sendto.596765398.3898306705035691460 /exp 2016 Oct 6 18:10:03 jspawnhelper 406:413 2016 Oct 6 18:10:03 pty /var/tmp/dlight_sova/53e6af52/0644676033/pty --no-pty /bin/sh /var/tmp/dlight_s 2016 Oct 6 18:10:03 jspawnhelper 412:416 2016 Oct 6 18:10:03 pty /var/tmp/dlight_sova/53e6af52/0644676033/pty --no-pty /bin/sh /var/tmp/dlight_s Every time IDE starts 6 external processes and 3 jspawnhelper processes.
It's a send-to validators. Remove all stuff from send-to and try again. Does it help?
Yes, it is "Send To..." container which initializes own not-yet-visible children-actions when become visible itself. The same issue we filed against Versioning: Initialize only when user goes into SendTo submenu
I can't find (yet) a good way to initialize subMenu only when this subMenu is entered. Maybe it's easier to wrap SendTo... with Tools menu, as it is done in file/project view. Also it worth moving MixedDev there. (In file view it's also under tools).
Created attachment 164594 [details] Fix This fix works, but it's not good to move initialization to getPopupMenu()
Integrated into 'main-silver', will be available in build *201707201608* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1d285dd9276e User: Ilia Gromov <ilia@netbeans.org> Log: Fixed #268381 - In built-in editor a context menu launches 6 new processes