Skip to content

Avoid scanning all classes on attach #307

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nya3jp
Copy link
Contributor

@nya3jp nya3jp commented Jan 27, 2025

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.

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.
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

Successfully merging this pull request may close these issues.

1 participant