-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono] Remove some domain stuff from the debugger #103186
Conversation
Tagging subscribers to this area: @thaystg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, I'd use mono_get_root_domain
more than mono_domain_get
. it's cheaper and doesn't invite questions of "does this function care about being called on an unattached thread?"
Does anyone know why https://github.com/dotnet/runtime/pull/103186/files#diff-1492a44134220d0f70af248aa7524cfc5e03795d922b90381eaa3b2fea5955deR96 would be failing? How could we have another domain? |
It's called from here
But the runtime/src/mono/mono/metadata/domain.c Lines 141 to 142 in 07d3637
runtime/src/mono/mono/metadata/domain.c Line 91 in 07d3637
So when |
Thanks! Do you think we should assign the global before firing the profiler event? That seems right to me |
I think so too |
cc @lambdageek