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

Frequent freezes with cut/copy #1035

Open
mickaelistria opened this issue Dec 9, 2024 · 1 comment
Open

Frequent freezes with cut/copy #1035

mickaelistria opened this issue Dec 9, 2024 · 1 comment

Comments

@mickaelistria
Copy link

Often with Ctrl+C or Ctrl+X, I get

"main" #1 [77645] prio=6 os_prio=0 cpu=486005,00ms elapsed=2624,24s tid=0x00007fde8002f2c0 nid=77645 in Object.wait()  [0x00007fde857fa000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait0([email protected]/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait([email protected]/Object.java:378)
	at org.eclipse.jdt.core.manipulation.CoreASTProvider.getAST(CoreASTProvider.java:176)
	- locked <0x0000000619c56ba0> (a java.lang.Object)
	at org.eclipse.jdt.core.manipulation.CoreASTProvider.getAST(CoreASTProvider.java:189)
	at org.eclipse.jdt.core.manipulation.CoreASTProvider.getAST(CoreASTProvider.java:189)
	at org.eclipse.jdt.core.manipulation.CoreASTProvider.getAST(CoreASTProvider.java:189)
	at org.eclipse.jdt.core.manipulation.SharedASTProviderCore.getAST(SharedASTProviderCore.java:138)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.getClipboardData(ClipboardOperationAction.java:488)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doCutCopyWithImportsOperation(ClipboardOperationAction.java:409)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:368)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$$Lambda/0x00007fde043e7008.run(Unknown Source)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:289)

and indeed, it seems to be waiting on... nothing; I cannot find in jstack any other thread doing JDT stuff.

@mickaelistria
Copy link
Author

Looks like another case making the freeze highly probably is when trying to complete final

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

1 participant