Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-07Implement GC.GetAllocatedBytesForCurrentThread for CoreRT.dotnet-bot
[tfs-changeset: 1664883]
2017-04-07Port MemoryFailPoint from CoreCLRDaniel Harvey
[tfs-changeset: 1653620]
2017-02-24Implement GC APIs for .NET Standard 2.0dotnet-bot
This change adds a number of GC APIs to ProjectN in accordance with .NETStandard 2.0: * GC.GetGeneration(WeakReference) * GC.RegisterForFullGCNotification * GC.WaitForFullGCApproach * GC.WaitForFullGCComplete * GC.CancelFullGCNotification * GC.TryStartNoGCRegion * GC.EndNoGCRegion [tfs-changeset: 1648730]
2017-01-24Port GC updates from CoreCLR (#2567)Jan Kotas
- https://github.com/dotnet/coreclr/pull/9029 - https://github.com/dotnet/coreclr/pull/8976 - Matching runtime changes
2016-09-14Ports dotnet/coreclr PR#6764 (https://github.com/dotnet/coreclr/pull/6764) ↵dotnet-bot
to ProjectN. The nature of the changes in this changelist is very similar to the changes done in CoreCLR described in the linked PR: 1) This change synchronizes the ndp/FxCore/CoreRT/Native/gc and src/vm/gc directories of ProjectN and coreclr, respectively. There is one additional change present in this changelist that was not done to CoreCLR (and will need to be ported to CoreCLR), and that is the addition of IGCHeap::RegisterFrozenSegment and IGCHeap::UnregisterFrozenSegment to the interface. These functions are invoked from RedhawkGCInterface::RegisterFrozenSection and as such must be present on the interface. This is a very minor change that involved ensuring that Register/UnregisterFrozenSegment are defined for all builds (not just defined when FEATURE_BASICFREEZE is defined) and propagating the definition of those two functions to IGCHeap, instead of IGCHeapInternal where they resided on CoreCLR. Calling either of those two methods with FEATURE_BASICFREEZE not defined results in an assert. 2) Like the changes to the VM in CoreCLR, uses of GCHeap in CoreRT/Native/Runtime are redirected to the GCHeapUtilities class, which maintains the singular IGCHeap instance and provides a number of static methods used by the runtime to access and query the state of the heap. For most cases in Native/Runtime, this meant renaming uses of GCHeap to GCHeapUtilities. There is a notable exception to this in that GetMaxGeneration is turned into a virtual method call on IGCHeap on non-DAC code paths (see https://github.com/dotnet/coreclr/pull/6764#issuecomment-245462736 for details on why I chose to expose a virtual and non-virtual version of GetMaxGeneration) 3) This set of changes broke SOS GC heap dumping on CoreCLR when FEATURE_SVR_GC is defined, so this change contains a fix for that particular issue. As far as I know, FEATURE_SVR_GC is not defined on the ProjectN build, so this has no effect for now, but it will fix an issue that would be present if/when we enable Server GC. This particular fix is located in request.cpp. There should be no surprises in this changelist except for portable.cpp, which declares a complete alloc_context struct out-of-line from the GC interface - this change updates the declared alloc_context struct to match the one exposed by the interface. [tfs-changeset: 1627236]
2016-06-01Missed files in last changeJan Kotas
[tfs-changeset: 1609436]
2016-04-16MRT changes for portability (#1152)dotnet bot
- Replace asm wrappers for GC helpers with regular PInvoke for better portability. There is an extra GC mode switch now but it should not matter because of these helpers are either expensive or rarely used. - Remove asm code for RhpBulkWriteBarrier by switching to C++ implementation unconditionally (remove CORERT ifdef) - Move error handling for RhHandleAlloc* to System.Private.CoreLib (remove CORERT ifdef) - Add missing error handling for RhReRegisterForFinalize - A few other minor fixes and cleanup [tfs-changeset: 1596653]
2016-01-28Update licensing headersdotnet-bot
2015-11-20Changes required to integrate code back into ProjectN treeScott Mosier
2015-10-23Rename filenames in #include commands to match real filenamesJan Vorlicek
2015-10-14Additional GC-to-EE hookup.Scott Mosier
Provide specialized gcenv.h for CoreRT. Some refactoring of related gcenv stuff. Wire up finalizer code. Add runtime-specific scanning code.
2015-10-14Partially hooked up GC sources to Runtime sources. Finalizer code is not ↵Scott Mosier
yet hooked up.
2015-10-01Initial population of CoreRT Runtime files.dotnet-bot