Skip to content

Avoid scanning all classes on attach#307

Open
nya3jp wants to merge 1 commit intogeorgewfraser:masterfrom
nya3jp:allclasses
Open

Avoid scanning all classes on attach#307
nya3jp wants to merge 1 commit intogeorgewfraser:masterfrom
nya3jp:allclasses

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