This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
Merge nmirror to master - #1468
Merged
Merged
Conversation
- Avoid doing the same work twice by merging `ConversionToCanonFormIsAChange` and `ConvertInstantiationToCanonForm` - Fix TODO about unnecessary allocation in InstantiatedMethod.
Port the GC background thread creation from CoreCLR and implement the new GCToOSInterface::CreateBackgroundThread.
Merge nmirror to master
https://github.com/dotnet/coreclr/tree/master/src/gc 0dbc3f62bd3ce5184cc27884e3239e3deae3cc9a
- Match ComputeTypeFlags to the pattern used elsewhere to help find bugs easier. - Seal Context property - Base type of specific canon is Object
GC update from CoreCLR
A few fixes to canonicalization
Addition of OFFSETOF__InterfaceDispatchCache__m_rgEntries was getting dropped by the assembler in the original code for some reason.
Merge nmirror to master
* Fix issues with instantiated generics - IsFinal property not correctly implemented for MethodForInstantiatedType - GetFinalizer does not work if the type does not implement the finalizer directly, but instead inherits it from the parent type
Enable regular GC budget for RyuJIT codegen
…1439) When compiling hello world, computing virtual method overrides shows up as pretty hot. Turns out the slowdown is mostly caused by the enumeration being slow. I'm introducing a caching version of the algorithm. This drops hello world compilation time from ~3.4 seconds to ~3.2 seconds (!). Some notes: * Caching only the methods on definitions, not on instantiated types. * I'm not adding cache invalidation. Since I'm not caching methods on generic instantiations, this shouldn't explode too much. * We might get further benefit if we change `IEnumerable<MethodDesc>` to `MethodDesc[]` in the method signature, but I'm not sure we would want to do that.
- Rename the main compilation entrypoint from SingleFileCompilation to just Compile because of it is not limited to single file compilation - Initialize default target architecture based on the process architecture
A runtime determined type wraps a canonical type and the information about what generic parameter it is bound to. Runtime determined types are only expected to show up during dependecy analysis and when talking to codegen backends that can leverage the extra information runtime determined types provide on top of bare canonical forms to do advanced inlining in shared generic method bodies.
Merge nmirror to master
We need a proper logging infrastructure as a long term fix, but this shaves off 8% of the compilation time for Hello World, so worth it on it's own...
Merge nmirror to master
Better performance for MulticastDelegate.Equals
Fix build break at TFS side
[tfs-changeset: 1616084]
MichalStrehovsky
pushed a commit
to MichalStrehovsky/corert
that referenced
this pull request
Mar 28, 2020
* gc, pal: Avoid linking libnuma.so on non-NUMA systems In an effort to reduce the system calls performed during the initialization, this seemed like another low-hanging fruit: only link in libnuma.so if the system has more than one NUMA node. * gc, pal: Remove unneeded dlsym() call The result of dlsym() is never attributed to any variable, and this function is never called, so it's safe to remove these dlsym() calls.
MichalStrehovsky
pushed a commit
to MichalStrehovsky/corert
that referenced
this pull request
Mar 31, 2020
* gc, pal: Avoid linking libnuma.so on non-NUMA systems In an effort to reduce the system calls performed during the initialization, this seemed like another low-hanging fruit: only link in libnuma.so if the system has more than one NUMA node. * gc, pal: Remove unneeded dlsym() call The result of dlsym() is never attributed to any variable, and this function is never called, so it's safe to remove these dlsym() calls.
jkotas
pushed a commit
that referenced
this pull request
Apr 1, 2020
* gc, pal: Avoid linking libnuma.so on non-NUMA systems In an effort to reduce the system calls performed during the initialization, this seemed like another low-hanging fruit: only link in libnuma.so if the system has more than one NUMA node. * gc, pal: Remove unneeded dlsym() call The result of dlsym() is never attributed to any variable, and this function is never called, so it's safe to remove these dlsym() calls.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major pieces of the payload:
Testing: