Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Mac上面的eclipse oxygen问题 #28

Closed
riclava opened this issue Oct 15, 2017 · 9 comments
Closed

在Mac上面的eclipse oxygen问题 #28

riclava opened this issue Oct 15, 2017 · 9 comments

Comments

@riclava
Copy link

riclava commented Oct 15, 2017

试了下mac 下面的 eclipse oxygen,分析了一个工程之后IDE卡住,CPU120+%,很多JPA在跑,是什么原因呢?

@riclava
Copy link
Author

riclava commented Oct 15, 2017

重启了eclipse,再次测试了下:1. 分析完成之后大概有5个JPA线程;2. 按照分析结果的Mark打开代码,每次动作JPA线程的数量都在增加,而且久的线程没有退出;
截图:
4327e331-f70f-4096-aea4-135be2f929c4

@riclava
Copy link
Author

riclava commented Oct 15, 2017

补充下:

  1. mac上eclipse neon的测试效果是一样的,很多JPA线程,几乎完全僵住
  2. java版本
riclz:~ ricl$ java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

@riclava
Copy link
Author

riclava commented Oct 15, 2017

再补充下:

  1. win 10 + Eclipse neon + JDK1.8 依然存在上面的问题,太卡,不能用

@CodeDestiny
Copy link

我直接把JPA插件卸载了

@riclava
Copy link
Author

riclava commented Oct 16, 2017

@CodeDestiny 谢谢!卸载了两个JPA插件,确实可以!!
不过代码修正的时候,Eclipse还是会占100%CPU,不过基本上不影响使用了

@SeanCai
Copy link
Contributor

SeanCai commented Oct 16, 2017

@riclava 感谢反馈哈,目前还没有找到为什么会有JAP线程的原因,希望大家一起加入进来完善哈。

@riclava
Copy link
Author

riclava commented Oct 17, 2017

@SeanCai 可以写一个简单的for developer的文档么? 看了代码是用kotlin,流程不太熟悉~

@SeanCai
Copy link
Contributor

SeanCai commented Oct 24, 2017

@riclava 我整理一下for developer的文档哈

@SeanCai
Copy link
Contributor

SeanCai commented Oct 24, 2017

这个是Eclipse的一个bug,因为插件在扫描的时候会对文件进行标记,所以触发了JPA的任务。卸载JPA插件,或者尝试升级到最新版的Eclipse。附:JPA project Change Event Handler问题解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants