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

[mono] More domain cleanups #50479

Merged
merged 8 commits into from
Apr 6, 2021
Merged

[mono] More domain cleanups #50479

merged 8 commits into from
Apr 6, 2021

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Mar 31, 2021

No description provided.

@ghost
Copy link

ghost commented Mar 31, 2021

Tagging subscribers to this area: @CoffeeFlux
See info in area-owners.md if you want to be subscribed.

Issue Details
Author: vargaz
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

@marek-safar
Copy link
Contributor

@vargaz could you resolve the confict

@CoffeeFlux @lambdageek plase review

@vargaz vargaz force-pushed the domain-cleanup3 branch from 80a0882 to ba1337a Compare April 5, 2021 08:32
Copy link
Contributor

@CoffeeFlux CoffeeFlux left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

There might end up being conflicts with #49637 but they should be easy to resolve on either end.

mono_appdomains_lock ();
domain_id_alloc (domain);
mono_appdomains_unlock ();
// FIXME: why is this needed ?
Copy link
Contributor

Choose a reason for hiding this comment

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

Did removing this cause problems? I don't see it referenced anywhere else now, and the GC shouldn't(?) be using it to find roots, so I think this can just go away.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will try to remove later.

src/mono/mono/metadata/domain.c Show resolved Hide resolved
}

mono_assembly_addref (ass);
// Prepending here will break the test suite with frequent InvalidCastExceptions, so we have to append
Copy link
Contributor

Choose a reason for hiding this comment

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

The fact prepending here doesn't work still annoys me. I wish I'd left more info about why, since it's not obvious months later what the actual problem was.

@vargaz vargaz deleted the domain-cleanup3 branch April 6, 2021 04:08
thaystg added a commit to thaystg/runtime that referenced this pull request Apr 6, 2021
…shim_mono

# By Aaron Robinson (10) and others
# Via GitHub
* upstream/main: (108 commits)
  [mbr] Add Apple sample (dotnet#50740)
  make EstablishProxyTunnelAsync throw on failure status code from proxy (dotnet#50763)
  Improve RGB Min Max evaluation performance by using 2 or 3 comparison… (dotnet#50622)
  [mono] More domain cleanups (dotnet#50479)
  Fix Crossgen2 of PlatformDefaultMemberFunction methods and calls. (dotnet#50754)
  Disable EventSource generator in design-time builds (dotnet#50741)
  Fix X509 test failures on Android (dotnet#50301)
  Do not confuse fgDispBasicBlocks in fgMorphBlocks (dotnet#50703)
  Enforce 64KB event payload size limit on EventPipe  (dotnet#50600)
  Reorganize CoreCLR native build to reduce CMake reconfigures when the build system is untouched (dotnet#49906)
  [mbr] Turn on hot reload for iOS, tvOS and MacCatalyst (dotnet#50458)
  improve connection scavenge logic by doing zero-byte read (dotnet#50545)
  Resolve call mdtokens when making tier 1 inline observations (dotnet#50675)
  Annotate APIs in System.Private.Xml (dotnet#49682)
  Support compiling against OpenSSL 3 headers
  Change Configuration.Json to use a regular Dictionary. (dotnet#50611)
  Remove unused BigNumFromBinary P/Invoke (dotnet#50670)
  Make Ninja the default CMake generator on Windows for the repo (dotnet#49715)
  [AppleAppBuilder] Entitlements to run tests on catalyst using the JIT (dotnet#50637)
  [mono] Fix delegate invokes to dynamic methods in mixed mode. (dotnet#50547)
  ...

# Conflicts:
#	src/mono/dlls/mscordbi/CMakeLists.txt
@ghost ghost locked as resolved and limited conversation to collaborators May 6, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants