[mono] Remove some domain stuff from the debugger#103186
Conversation
|
Tagging subscribers to this area: @thaystg |
lambdageek
left a comment
There was a problem hiding this comment.
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