Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315386

Summary: 4.0 SDK I20100531-2039 consumes 113% CPU
Product: [Eclipse Project] e4 Reporter: Paul Webster <pwebster>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: john.arthorne, ob1.eclipse, remy.suen
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
javacore 1
none
javacore 2
none
javacore 3 none

Description Paul Webster CLA 2010-06-02 08:30:44 EDT
Created attachment 170782 [details]
javacore 1

12792 pwebster  15   0  515m 365m S 106.1  9.7 150m   2:12 eclipse              

When my 4.0 SDK is just sitting there, doing nothing, it appears to be consuming a *lot* of CPU time.

I'm attaching some javacore snapshots but I don't think they provide useful information.

PW
Comment 1 Paul Webster CLA 2010-06-02 08:31:05 EDT
Created attachment 170784 [details]
javacore 2
Comment 2 Paul Webster CLA 2010-06-02 08:31:25 EDT
Created attachment 170786 [details]
javacore 3
Comment 3 Paul Webster CLA 2010-06-02 08:45:06 EDT
This seems related to the JVM I was using.  JRE 1.6.0 IBM J9 2.4 Linux x86-32 build jvmxi3260sr7-20091214_49398

On Java(TM) SE Runtime Environment (build 1.6.0_18-b07) I don't have this problem.

PW
Comment 4 John Arthorne CLA 2010-06-02 09:23:39 EDT
The only thread that seems active is the VM's "attach handler":

at java/lang/Character.digit(Character.java:4506(Compiled Code))
at com/ibm/oti/vm/MsgHelp.format(MsgHelp.java:42(Compiled Code))
at com/ibm/oti/util/Msg.getString(Msg.java:167(Compiled Code))
at com/ibm/oti/util/Msg.getString(Msg.java:142(Compiled Code))
at com/ibm/tools/attach/javaSE/IPC.waitSemaphore(IPC.java:200(Compiled Code))
at com/ibm/tools/attach/javaSE/AttachHandler.waitForNotification(AttachHandler.java:183(Compiled Code))
at com/ibm/tools/attach/javaSE/AttachHandler.run(AttachHandler.java:163(Compiled Code))
Comment 5 Paul Webster CLA 2010-06-02 09:26:35 EDT
This seems to be a known problem with IBM SR7 (problems with AttachHandler)  I've moved to SR8 which contains a fix and the problem has gone away.

PW