Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Juno CDT for linux eat up my cpu
Juno CDT for linux eat up my cpu [message #898459] Thu, 26 July 2012 12:21
allen hoo is currently offline allen hooFriend
Messages: 1
Registered: July 2012
Junior Member
Juno CDT for linux eat up my cpu

I'm trying to upgrade to Juno CDT.

1) I cannot install new software by Help->Install new software->Add a software site (say "subversive 1.0 - http://download.eclipse.org/technology/subversive/1.0/update-site/")
It cannot list the available software.

2) CPU usage is very high, there is not any project in the workspace.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2336 allen 20 0 1440m 389m 25m S 73 19.4 5:22.31 java
1366 root 20 0 202m 56m 7432 S 30 2.8 1:52.86 Xorg

my OS is :
Linux ubuntu 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux.

Desktop environment is Xfce4.8 (xubuntu).

Any help is appreciated! Thanks in advance!

The Eclipse Thread stacks :


Thread[main,6,main]
I think this thread eat up my CPU time. The Display should be sleep
org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8295)
org.eclipse.swt.widgets.Display.eventProc(Display.java:1192)
org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2332)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3177)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
org.eclipse.equinox.launcher.Main.run(Main.java:1438)
org.eclipse.equinox.launcher.Main.main(Main.java:1414)


Thread[Finalizer,8,system]

java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

Thread[State Data Manager,5,main]

java.lang.Thread.sleep(Native Method)
org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
java.lang.Thread.run(Thread.java:722)

Thread[Start Level Event Dispatcher,5,main]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

Thread[Worker-0,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

Thread[Thread-4,9,system]

sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
com.sun.btrace.BTraceRuntime$2.run(BTraceRuntime.java:354)
java.lang.Thread.run(Thread.java:722)

Thread[Bundle File Closer,5,main]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

Thread[Reference Handler,10,system]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)

Thread[Thread-3,9,system]

java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1618)
com.sun.btrace.BTraceRuntime.stackTraceAllStr(BTraceRuntime.java:1260)
com.sun.btrace.BTraceRuntime.stackTraceAll(BTraceRuntime.java:1279)
com.sun.btrace.BTraceUtils$Threads.jstackAll(BTraceUtils.java:3288)
com.sun.btrace.BTraceUtils$Threads.jstackAll(BTraceUtils.java:3277)
com.sun.btrace.samples.JStack.<clinit>(Unknown Source)
sun.misc.Unsafe.ensureClassInitialized(Native Method)
com.sun.btrace.BTraceRuntime.defineClassImpl(BTraceRuntime.java:2174)
com.sun.btrace.BTraceRuntime.defineClass(BTraceRuntime.java:402)
com.sun.btrace.agent.Client.loadClass(Client.java:275)
com.sun.btrace.agent.RemoteClient.<init>(RemoteClient.java:59)
com.sun.btrace.agent.Main.startServer(Main.java:379)
com.sun.btrace.agent.Main.access$000(Main.java:65)
com.sun.btrace.agent.Main$3.run(Main.java:166)
java.lang.Thread.run(Thread.java:722)

Thread[Signal Dispatcher,9,system]


Thread[Worker-1,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)

Thread[Worker-2,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.ui.internal.Semaphore.acquire(Semaphore.java:43)
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:168)
org.eclipse.swt.widgets.Display.syncExec(Display.java:4291)
org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.ensureFontAndColorsCreated(GitLightweightDecorator.java:118)
org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.<init>(GitLightweightDecorator.java:106)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:525)
java.lang.Class.newInstance0(Class.java:372)
java.lang.Class.newInstance(Class.java:325)
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:273)
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:269)
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition$1.run(LightweightDecoratorDefinition.java:124)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
org.eclipse.core.runtime.Platform.run(Platform.java:857)
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.internalGetDecorator(LightweightDecoratorDefinition.java:120)
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:251)
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Thread[Framework Event Dispatcher,5,main]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

Thread[Worker-JM,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)

Thread[[Timer] - Main Queue Handler,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
java.lang.Thread.run(Thread.java:722)

Thread[Java indexing,4,main]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:382)
java.lang.Thread.run(Thread.java:722)

Thread[Framework Active Thread,5,main]

java.lang.Object.wait(Native Method)
org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1863)
java.lang.Thread.run(Thread.java:722)

Thread[[ThreadPool Manager] - Idle Thread,5,main]

java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)

Thread[Attach Listener,9,system]

[Updated on: Fri, 27 July 2012 04:14]

Report message to a moderator

Previous Topic:CDT 8.1 build errors
Next Topic:Unable to build C++ project in Juno CDT
Goto Forum:
  


Current Time: Thu Dec 18 22:25:41 GMT 2014

Powered by FUDForum. Page generated in 0.02082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software