java-language-server icon indicating copy to clipboard operation
java-language-server copied to clipboard

Avoid scanning all classes on attach

Open nya3jp opened this issue 1 year ago • 0 comments

Clients try to enable all breakpoints on attach, but currently it ends up with querying all classes loaded in the VM today. This is very slow; it takes ~5ms per class on my environment.

This patch workarounds the problem by skipping classes that are clearly irrelevant.

nya3jp avatar Jan 27 '25 13:01 nya3jp