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

instrument jl_load_dynamic_library to the profiler #49496

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

KristofferC
Copy link
Member

I wanted to see how much of the jll initialization time was due to opening dynamic libraries:

image

I had to change some of the gotos to return due to the cleanup attribute not working very well with goto. I don't really see why goto was used in the first place but maybe I miss something.

Copy link
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really nice that traces will include a list of dynamically-loaded libraries now.

@StefanKarpinski
Copy link
Member

Yeah, that goto usage seems totally gratuitous. Would make sense if there was some cleanup before the return.

@KristofferC KristofferC merged commit 960870e into master Apr 26, 2023
@KristofferC KristofferC deleted the kc/dl_open_profile branch April 26, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants