Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Eclipse frequent freezes with Build #56

Moderators: Vladimir Kondratyev, Anton Katilin

Eclipse frequent freezes with Build #56

Postby elecharny » Mon Nov 19, 2018 3:14 am

Hi,

I tried to use the latest EAP (Build #56) on my Eclipse 2018-09 version (4.9), running with Java 8:

$ java -version
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (Zulu 8.33.0.1-macosx) (build 1.8.0_192-b01)
OpenJDK 64-Bit Server VM (Zulu 8.33.0.1-macosx) (build 25.192-b01, mixed mode)

In eclipse, ite results in frequent UI freezes (a few seconds) when using the IDE, even when YourKit is not launched. Eclipse error logs show that such a thread is the only runnable :

Stack Trace
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at com.yourkit.c.l$1.run(a:31)
at java.lang.Thread.run(Thread.java:748)


If I uninstall the Yourkit plugin, the UI becomes responsive again.
elecharny
 
Posts: 5
Joined: Wed May 16, 2007 8:54 am

Re: Eclipse frequent freezes with Build #56

Postby Anton Katilin » Mon Nov 19, 2018 6:46 am

Hi,

We are not aware of this issue.

You're running on Azul Zulu JDK, YourKit does not support it. Please try running Eclipse on a regular (HotSpot) OpenJDK or Oracle JDK.

Best regards,
Anton
Anton Katilin
 
Posts: 5709
Joined: Wed Aug 11, 2004 8:37 am

Re: Eclipse frequent freezes with Build #56

Postby elecharny » Mon Nov 19, 2018 1:41 pm

Actually, my bad. Eclipse is running using the default oracle 1.8.0_144 version, not the Azul JDK :

*** Date: Monday, November 19, 2018 at 2:36:49 PM Central European Standard Time

*** Platform Details:

*** System properties:

java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_144-b01
java.specification.name=Java Platform API Specification
java.specification.vendor=Oracle Corporation
java.specification.version=1.8
java.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
java.version=1.8.0_144
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Oracle Corporation
java.vm.specification.version=1.8
java.vm.vendor=Oracle Corporation
java.vm.version=25.144-b01
elecharny
 
Posts: 5
Joined: Wed May 16, 2007 8:54 am

Re: Eclipse frequent freezes with Build #56

Postby Anton Katilin » Mon Nov 19, 2018 6:25 pm

OK.

Eclipse error logs show that such a thread is the only runnable :

Stack Trace
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
at java.net.ServerSocket.implAccept(ServerSocket.java:545)
at java.net.ServerSocket.accept(ServerSocket.java:513)
at com.yourkit.c.l$1.run(a:31)
at java.lang.Thread.run(Thread.java:748)
This is the plugin thread waiting for incoming commands from the profiler UI. It does not affect any other threads, and the method at the top is in waiting state, it does not consume CPU. Unless the plugin is processing a command (which is not the case) the plugin is idle. I have no idea at the moment how the plugin can cause the freezes.

Could you please provide the Eclipse logs in full. Please send them to support@yourkit.com
Anton Katilin
 
Posts: 5709
Joined: Wed Aug 11, 2004 8:37 am

Re: Eclipse frequent freezes with Build #56

Postby elecharny » Thu Nov 29, 2018 9:22 am

Ok, I think it might be something different, like Eclipse reindexing everything now and then.

I suspect I jumped to conclusion after having installed YourKit and seeing those freezes, but it was a new version of Eclipse too and I may not have used it enough to have been hit by those freezes before using Yourkit.

After a bit of Eclipse config tuning, those freezes have somehow disapeared.

Sory for the noise, and thanks for the quick answer !
elecharny
 
Posts: 5
Joined: Wed May 16, 2007 8:54 am

Re: Eclipse frequent freezes with Build #56

Postby Anton Katilin » Thu Nov 29, 2018 11:27 am

Thank you for posting the update.
Anton Katilin
 
Posts: 5709
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 19 guests

cron