Bug 578287 - run project time consuming
Summary: run project time consuming
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.22   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-19 21:56 EST by Yu Haitao CLA
Modified: 2024-02-12 05:14 EST (History)
1 user (show)

See Also:


Attachments
the maven project (35.02 MB, application/zip)
2022-01-20 22:00 EST, Yu Haitao CLA
no flags Details
config (499.00 KB, patch)
2022-02-03 08:48 EST, Yu Haitao CLA
no flags Details | Diff
debug (164.10 KB, image/jpeg)
2022-02-03 08:48 EST, Yu Haitao CLA
no flags Details
debug console file (379.32 KB, text/plain)
2022-02-03 08:49 EST, Yu Haitao CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Haitao CLA 2022-01-19 21:56:40 EST
I have a spring maven project , run/debug it cost me 3 minutes in Eclipse, but in Idea IDE it cost me 40 seconds. Mac M1 pro notepad
Comment 1 Yu Haitao CLA 2022-01-19 22:07:08 EST
I have downloaded AArch64 version
Comment 2 Sarika Sinha CLA 2022-01-20 01:52:07 EST
Please attach a sample project independent of spring to showcase the issue. Without that it is difficult to understand and work on the problem.
Comment 3 Yu Haitao CLA 2022-01-20 22:00:51 EST
Created attachment 287864 [details]
the maven project

jdk is zulu 1.8.0   Mac M1 pro
Comment 4 Yu Haitao CLA 2022-01-20 22:06:20 EST
(In reply to Sarika Sinha from comment #2)
> Please attach a sample project independent of spring to showcase the issue.
> Without that it is difficult to understand and work on the problem.

run configuration Goals  tomcat7:run
Comment 5 Yu Haitao CLA 2022-01-23 20:43:38 EST
(In reply to Sarika Sinha from comment #2)
> Please attach a sample project independent of spring to showcase the issue.
> Without that it is difficult to understand and work on the problem.

I have uploaded the project
Comment 6 Sarika Sinha CLA 2022-01-25 12:59:29 EST
(In reply to Yu Haitao from comment #5)
> (In reply to Sarika Sinha from comment #2)
> > Please attach a sample project independent of spring to showcase the issue.
> > Without that it is difficult to understand and work on the problem.
> 
> I have uploaded the project

I will be looking at this.
Comment 7 Yu Haitao CLA 2022-02-02 10:38:19 EST
(In reply to Sarika Sinha from comment #6)
> (In reply to Yu Haitao from comment #5)
> > (In reply to Sarika Sinha from comment #2)
> > > Please attach a sample project independent of spring to showcase the issue.
> > > Without that it is difficult to understand and work on the problem.
> > 
> > I have uploaded the project
> 
> I will be looking at this.

What's going on
Comment 8 Sarika Sinha CLA 2022-02-02 12:14:35 EST
(In reply to Yu Haitao from comment #7)
> (In reply to Sarika Sinha from comment #6)
> > (In reply to Yu Haitao from comment #5)
> > > (In reply to Sarika Sinha from comment #2)
> > > > Please attach a sample project independent of spring to showcase the issue.
> > > > Without that it is difficult to understand and work on the problem.
> > > 
> > > I have uploaded the project
> > 
> > I will be looking at this.
> 
> What's going on

Can you provide the steps to reproduce the slowness?


Also can yo try disabling the check box for preference :
Show method result after a step operation
- Enable for local launch types

This preference is available under Eclipse->Preferences->Java->Debug
Comment 9 Yu Haitao CLA 2022-02-03 08:48:28 EST
Created attachment 287969 [details]
config
Comment 10 Yu Haitao CLA 2022-02-03 08:48:56 EST
Created attachment 287970 [details]
debug
Comment 11 Yu Haitao CLA 2022-02-03 08:49:27 EST
Created attachment 287971 [details]
debug console file
Comment 12 Yu Haitao CLA 2022-02-03 08:50:44 EST
(In reply to Sarika Sinha from comment #8)
> (In reply to Yu Haitao from comment #7)
> > (In reply to Sarika Sinha from comment #6)
> > > (In reply to Yu Haitao from comment #5)
> > > > (In reply to Sarika Sinha from comment #2)
> > > > > Please attach a sample project independent of spring to showcase the issue.
> > > > > Without that it is difficult to understand and work on the problem.
> > > > 
> > > > I have uploaded the project
> > > 
> > > I will be looking at this.
> > 
> > What's going on
> 
> Can you provide the steps to reproduce the slowness?
> 
> 
> Also can yo try disabling the check box for preference :
> Show method result after a step operation
> - Enable for local launch types
> 
> This preference is available under Eclipse->Preferences->Java->Debug

all file as attatchment , I disable jrebel plugins and it is better, bug slower than idea also
Comment 13 Yu Haitao CLA 2022-02-03 08:51:55 EST
(In reply to Sarika Sinha from comment #8)
> (In reply to Yu Haitao from comment #7)
> > (In reply to Sarika Sinha from comment #6)
> > > (In reply to Yu Haitao from comment #5)
> > > > (In reply to Sarika Sinha from comment #2)
> > > > > Please attach a sample project independent of spring to showcase the issue.
> > > > > Without that it is difficult to understand and work on the problem.
> > > > 
> > > > I have uploaded the project
> > > 
> > > I will be looking at this.
> > 
> > What's going on
> 
> Can you provide the steps to reproduce the slowness?
> 
> 
> Also can yo try disabling the check box for preference :
> Show method result after a step operation
> - Enable for local launch types
> 
> This preference is available under Eclipse->Preferences->Java->Debug

Idea also has jrebel plugins, it takes 40 seconds to run the project
Comment 14 Yu Haitao CLA 2022-02-15 03:00:53 EST
(In reply to Sarika Sinha from comment #8)
> (In reply to Yu Haitao from comment #7)
> > (In reply to Sarika Sinha from comment #6)
> > > (In reply to Yu Haitao from comment #5)
> > > > (In reply to Sarika Sinha from comment #2)
> > > > > Please attach a sample project independent of spring to showcase the issue.
> > > > > Without that it is difficult to understand and work on the problem.
> > > > 
> > > > I have uploaded the project
> > > 
> > > I will be looking at this.
> > 
> > What's going on
> 
> Can you provide the steps to reproduce the slowness?
> 
> 
> Also can yo try disabling the check box for preference :
> Show method result after a step operation
> - Enable for local launch types
> 
> This preference is available under Eclipse->Preferences->Java->Debug



There is not much information that reproducing the issues via remote notepad control shows that is not already seen in the logs.

The main difference that our developers noted was that your environment variables are different in the IDEs. 

IntelliJ:
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63952,suspend=y,server=n
sun.java.command=org.codehaus.classworlds.Launcher -s /Users/adam/apache-maven-3.3.9/conf/settings.xml tomcat7:run

Eclipse:
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51656
sun.java.command=org.codehaus.plexus.classworlds.launcher.Launcher -B -gs /Users/adam/apache-maven-3.3.9/conf/settings.xml tomcat7:run

Please remove the debugger and see how that startup goes and also try to change the command in Eclipse to be "org.codehaus.classworlds.Launcher -s" instead of "org.codehaus.plexus.classworlds.launcher.Launcher -B -gs".
How to change this config. It's jrebel team suggestions
Comment 15 Yu Haitao CLA 2022-02-20 21:52:43 EST
(In reply to Sarika Sinha from comment #8)
> (In reply to Yu Haitao from comment #7)
> > (In reply to Sarika Sinha from comment #6)
> > > (In reply to Yu Haitao from comment #5)
> > > > (In reply to Sarika Sinha from comment #2)
> > > > > Please attach a sample project independent of spring to showcase the issue.
> > > > > Without that it is difficult to understand and work on the problem.
> > > > 
> > > > I have uploaded the project
> > > 
> > > I will be looking at this.
> > 
> > What's going on
> 
> Can you provide the steps to reproduce the slowness?
> 
> 
> Also can yo try disabling the check box for preference :
> Show method result after a step operation
> - Enable for local launch types
> 
> This preference is available under Eclipse->Preferences->Java->Debug

Can you give me some sugestions?
Comment 16 Eclipse Genie CLA 2024-02-12 05:14:25 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.