[jbosstools-issues] [JBoss JIRA] (JBDS-4680) Slow startup time

Nick Boldt (JIRA) issues at jboss.org
Mon Mar 5 15:43:00 EST 2018


    [ https://issues.jboss.org/browse/JBDS-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541646#comment-13541646 ] 

Nick Boldt commented on JBDS-4680:
----------------------------------

Sounds like it's a "if not refreshed in a while, check everything for freshness" sort of issue... perhaps it's trying to pull fresh content for Red Hat Central from download.jboss.org, or one of your plugins is "phoning home" to report it's started up. Could also be Google Analytics or AERI tracking.

If you want to test my theory about it being a maven process / corrupt ~/.m2 repo, you could -- instead of deleting the folder -- RENAME it to ~/.m2_BAK and then start devstudio. Then we can see if it's repo issues or something else.

If you're on Linux (or OSX) and want to accurately time how long a process takes to run, try something like 

{code} time ./devstudio & {code}


> Slow startup time
> -----------------
>
>                 Key: JBDS-4680
>                 URL: https://issues.jboss.org/browse/JBDS-4680
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: central, installer, upstream
>    Affects Versions: 11.1.0.GA, 11.2.0.GA
>         Environment: os x high sierra
> jdk 1.8.0_161
>            Reporter: Anton Giertli
>             Fix For: 11.3.0.AM3
>
>         Attachments: jstack_threaddump.out
>
>
> JBDS tends to start slow - i.e. 90-120s.
> Thread dumps attached - 20 dumps in total, one per every 5s.
> JBDS started after 19th dump.
> Log from today:
> !ENTRY org.eclipse.jdt.core 4 0 2018-02-27 09:22:53.857
> !MESSAGE Invalid ZIP archive: /Users/osiris/.m2/repository/org/jboss/resteasy/jaxrs-api/2.3.12.Final-redhat-1/jaxrs-api-2.3.12.Final-redhat-1.jar
> !SESSION 2018-02-28 08:46:28.303 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:46:46.453
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !SESSION 2018-02-28 08:47:39.203 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171026-1022-B1486
> java.version=1.8.0_161
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/osiris/.eclipse_keyring
> !ENTRY org.eclipse.core.net 1 0 2018-02-28 08:47:41.906
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !ENTRY org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
> Binding(COMMAND+SHIFT+F10,
> 	ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
> 		Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
> 		Category(org.eclipse.ui.category.file,File,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 2898cd46,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,,system)
> Binding(COMMAND+SHIFT+F10,
> 	ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
> 		Show the system menu,
> 		Category(org.eclipse.ui.category.window,Window,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 7ebf5bf,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,cocoa,system)
> !SUBENTRY 1 org.eclipse.jface 2 0 2018-02-28 08:49:05.496
> !MESSAGE A conflict occurred for ALT+COMMAND+Z:
> Binding(ALT+COMMAND+Z,
> 	ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean...,
> 		Open CDI Named Bean...,
> 		Category(org.eclipse.ui.category.navigate,Navigate,null,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 5d8cbb32,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,,system)
> Binding(ALT+COMMAND+Z,
> 	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
> 		Shows the Surround With quick menu,
> 		Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
> 		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 46aa5294,
> 		,,true),null),
> 	org.eclipse.ui.defaultAcceleratorConfiguration,
> 	org.eclipse.ui.contexts.window,,cocoa,system)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list