summaryrefslogtreecommitdiff
path: root/src/vm/nativeoverlapped.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-04-03Remove ADID and ADIndex from CoreCLR (#23588)David Wrighton1-2/+1
- Remove concept of AppDomain from object api in VM - Various infrastructure around entering/leaving appdomains is removed - Add small implementation of GetAppDomain for use by DAC (to match existing behavior) - Simplify finalizer thread operations - Eliminate AppDomain::Terminate - Remove use of ADID from stresslog - Remove thread enter/leave tracking from AppDomain - Remove unused asm constants across all architectures - Re-order header inclusion order to put gcenv.h before handletable - Remove retail only sync block code involving appdomain index
2019-01-04Delete unused fFullReset argument (#21814)Jan Kotas1-1/+1
2018-11-30Remove dead codeSteve MacLean1-1/+0
2018-10-04Remove AppDomain unload (#20250)Jan Vorlicek1-1/+1
* Remove AppDomain unload This change removes all code in AppDomain that's related to AppDomain unloading which is obsolete in CoreCLR. It also removes all calls to the removed methods. In few places, I have made the change simpler by taking into account the fact that there is always just one AppDomain.
2018-06-09Avoid NativeOverlapped pinning by allocating unmanaged memory for it (#18360)Jan Kotas1-384/+23
It makes PinnableBufferCache unnecessary
2018-06-04Work in VM towards cross-bitness crossgen (#18245)Egor Chesakov1-1/+1
* Replace sizeof expressions with target-specific constants: * sizeof(ObjHeader) -> OBJHEADER_SIZE * sizeof(Object) -> OBJECT_SIZE * ObjSizeOf(Object) -> OBJECT_BASESIZE * sizeof(ArrayBase) -> ARRAYBASE_SIZE * ObjSizeOf(ArrayBase) -> ARRAYBASE_BASESIZE * Remove ObjSizeOf macro * Use OBJECT_SIZE in ArrayBase::GetBoundsOffset * Cast ppObj to CORCOMPILE_GCREFMAP_TOKENS* before dereferencing in FakePromote * LOG2_PTRSIZE should depend on _TARGET_64BIT_
2017-06-23[Local GC] Remove a number of inclusions of handle table private headers ↵Sean Gillespie1-2/+3
from the VM (#12389) * Remove inclusions of private handle table headers from the VM * Add TraceRefCountedHandles to the GC handle table interface * Fix the Unix build * Move ValidatePinnedObject to marshalnative.h
2017-06-01[Local GC] Add async pinned handle methods to the handle interface (#11569)Sean Gillespie1-2/+29
* [Local GC] Add async pinned handle methods to the handle interface * Add a callback to HandleAsyncPinnedHandles for handle enumeration * Rename HandleAsyncPinnedHandles -> EnumerateAsyncPinnedHandles * Introduce typedef for function pointer type
2017-03-05Remove hosting methods that always return false (#9930)Austin Wise1-1/+0
* Remove CLRIoCompletionHosted as it always returns false. * Remove CLRSyncHosted as it always returns false. * Remove CLRMemoryHosted as it always returns false. * Remove CLRTaskHosted as it always returns false. * Remove CLRAssemblyHosted, CLRGCHosted,and CLRSecurityHosted. They are not called. * Remove IsThreadPoolHosted as it always returns false. * Remove EnterRuntime and LeaveRuntime, as they do nothing. * Add back calls to RevertIfImpersonated and GCX_PREEMP. I accidentally deleted the call to RevertIfImpersonated instead of just removing an extra parameter. When I removed the HR_LEAVE_RUNTIME_HOLDER macro from windowsruntime.h, I not only removed a LeaveRuntimeHolder but also a GCX_PREEMP. So I added it back. The holder and GCX_PREEMP where only inserted when the FEATURE_LEAVE_RUNTIME_HOLDER macro was defined. Since it is always defined, I removed it. Also as I understand it, you would always want to have a GCX_PREEMP before calling into the Windows API as not to block the GC, so I'm not sure why you would want to disable it.
2017-02-14Remove never defined FEATURE_INCLUDE_ALL_INTERFACESdanmosemsft1-15/+0
2017-02-10Remove always defined FEATURE_CORECLRdanmosemsft1-7/+0
2016-10-28Copy CoreFX FileStream to CoreLibJeremy Kuhne1-11/+13
This copies FileStream to CoreLib and uses it in place of the legacy FileStream. Code is mostly a direct copy with the addition of a few internal constructor overloads. Adds a simple Debug wrapper for BCLDebug to allow keeping the code the same. Also follows the same pattern for SR wrapping. Needed to bring down PreAllocatedOverlapped. - Expose FileStream in model.xml - Remove native usage of FileStreamAsyncResult - #ifdef SafeFileHandle creation in existing code (to avoid mismatched PAL/CoreFX usage)
2016-01-27Update license headersdotnet-bot1-4/+3
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+535
[tfs-changeset: 1407945]