summaryrefslogtreecommitdiff
path: root/src/vm/domainfile.h
AgeCommit message (Collapse)AuthorFilesLines
2019-03-20Runtime changes for IJW Activation (#22636)Jeremy Koritzinsky1-1/+1
* Implement loading an assembly from an HMODULE on Windows. * Use the native runtime to execute the main method so I don't have to replicate all of the startup behavior. * If ijwhost is loaded, then call back into ijwhost to resolve tokens for vtable entries. * Refactor our various component loaders (COM and IJW) and have IJW load components into separate ALCs when loaded from native. * Move VTableFixups after DeliverSyncEvents in our incremental load. We need the module to be loaded to at least FILE_LOAD_DELIVER_EVENTS when resolving dependencies loaded via VTableFixups, otherwise they try to load into the default ALC. * Only try to get ijwhost module handle on Windows. * Use defined() instead of ifndef * Fix off-Windows build break and fix unvalid comment. * ComponentLoadContext->IsolatedComponentLoadContext * Only build InMemoryAssemblyLoader when targeting windows. * Add doc comments for IsolatedComponentLoadContext. * Rename qcall. * Add comment for boolean parameter. * Add null check for managed ExecuteMainMethod entrypoint. * Add comments in ceeload.cpp for the ijwhost method resolution. * Add test verifying runtime callback to IJW host. * Add test for InMemoryAssemblyLoader.LoadInMemoryAssembly. * Fix x86 behavior rel. loading symbols by name and stdcall mangling. * Remove exe entrypoints. The executable case for mixed-mode will go through the normal .NET Core app model (no special hosting support needed). * Clean up whitespace * Add test verifying M->N->M ALC switch behavior with IJW. * Resolve the ijwhost module by probing the PE for the IJW assembly instead of hardcoding the name. * Remove static caching in GetTokenGetterFromHostModule. * Disable new IJW tests on Win7. * PR Feedback. * Cleanup extra copy of function. * Use old-style environment checking in LoadIjwFromModuleHandle since we reference S.P.CL directly. * Fix break in rebase * Clean up fake mscoree code. * Only validate that a CLR header exists. The OS verifies everything else. * Make ijw host resolution code static to ceeload.cpp * Use bracketed include for xplatform.h * Update comment on _CorDllMain * PR feedback. * Remove .def file. * PR feedback. * Verify we export correctly on x86 and x64. * Fix path to ijwhostmock for CopyConstructorMarshaler * Disable IJW tests on arm32 nightly. Can't repro the dependency load failures. Fixes #23358
2019-01-06Remove CAS era security checks around resource loads (#21825)Filip Navara1-1/+0
2018-11-28Delete code related to LoaderOptimization and SharedDomain (#21031)Jan Kotas1-28/+0
2018-11-26Disable domain neutral loading (#21156)Jan Kotas1-7/+0
2018-10-04Remove AppDomain unload (#20250)Jan Vorlicek1-1/+0
* 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-08-23Enable unloading of AssemblyLoadContext (#18476)Jan Vorlicek1-1/+20
Enable assembly unloading * Allow PInvoke methods on collectible assemblies * Fix test unloadability Several hundreds of tests were using Helper class that created GCHandle, but never freed it. That prevented unloading of those tests. The change modifies the Helper class to keep the handle in a finalizable object. Several GCHandle related tests were not freeing the GCHandle they allocated, so this change adds freeing them to enable the unloading. * Add missing error messages to the resources * Fix shuffle thunk cache for unloadability * Add GetLoaderAllocator to ICLRPrivBinder
2018-08-11Make RuntimeType sealed and deleted support for introspection only loads ↵Jan Kotas1-2/+0
(#19427) - Sealed Runtime makes `is RuntimeType` and similar checks faster. These checks are fairly common in reflection. - Delete support for introspection only loads from the runtime. We do not plan to use in .NET Core. The support for introspection loads inherited from RuntimeType and thus it is incompatible with sealed RuntimeType.
2017-05-17Finish deleting dead CAS code from CoreLib (#11436)Jan Kotas1-16/+1
Fixes #9321 and deletes CleanupToDoList.cs Delete unmanaged security implementation
2017-02-14Remove never defined FEATURE_MULTIMODULE_ASSEMBLIESdanmosemsft1-109/+0
2017-02-14Remove never defined FEATURE_MIXEDMODEdanmosemsft1-3/+0
2017-02-12Remove never defined FEATURE_FUSIONdanmosemsft1-21/+0
2017-02-10Remove always undefined FEATURE_CAS_POLICYdanmosemsft1-5/+0
2016-01-27Update license headersdotnet-bot1-4/+3
2015-10-07correct word spellingあまみや ゆうこ1-1/+1
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+947
[tfs-changeset: 1407945]