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

Support several search scopes and scopes that must be ignored #69

Open
AlexVanGogen opened this issue Aug 17, 2020 · 0 comments
Open

Support several search scopes and scopes that must be ignored #69

AlexVanGogen opened this issue Aug 17, 2020 · 0 comments

Comments

@AlexVanGogen
Copy link
Contributor

During experiment preparation, JCoz samples threads, collects topmost stack trace frames that are in user-defined scope, and then randomly selects one of collected frames. So, the "hotter" the line, the more often it will be selected.

There are some cases when we do not want some lines to be selected, even if they are executed very often. For example, we've already profiled our program and now want to take a closer look only at a subset of lines. Or some user threads can do work that we're not interested in. Profiling takes a very long time, and we do not want to spend it at something that is out of our concern right now.

So, having several scopes to search might be useful, especially in large projects with deep and branchy packaging, and having several scopes to ignore makes it more flexible. This will help easily tune profiler to search lines for experiments only where we want.

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