summaryrefslogtreecommitdiff
path: root/src/vm/corhost.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-10-15[Tizen] Add coreclr_preload_assembly to CoreCLR host APItizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20191014.221258accepted/tizen/unified/20191015.012049accepted/tizen/5.5/unified/mobile/hotfix/20201027.061818accepted/tizen/5.5/unified/20191031.004944Konstantin Baladurin1-0/+41
2019-05-29Remove all uses of CanRunManagedCode() (#24847)Aaron Robinson1-3/+1
* Remove all uses of CanRunManagedCode()
2019-05-24Delete FEATURE_USE_LCID (#24767)Jan Kotas1-1/+0
Never defined and obsolete
2019-05-17Delete unnecessary locale arguments (#24624)Jan Kotas1-6/+0
Everything in the runtime should use Invariant culture. It is not necessary to pass the locale arguments around.
2019-05-14Stack size override (#24532)Steve MacLean1-0/+6
Add ability to override stack size on all platforms * Add DEFAULT_STACK_SIZE property * Make environment variable affect all platforms
2019-04-26Added check for GetManagedCommandLine() returning a nullptr in ↵Brian Sullivan1-6/+0
ProfileDataAllocateScenarioInfo Moved call to ReleaseManagedCommandLine() to EEShutDownHelper
2019-04-26Commits from #24229 - Fixes for IBC profile data on LinuxBrian Sullivan1-9/+7
Added public static function GetManagedCommandLine() and SaveManagedCommandLine() Moved GetManagedCommandLine and SaveManagedCommandLine to ceeload to link Disabled the setup for BBSweep on Linux as the PAL doesn’t support process named objects
2019-04-26Revert "Fix for IBC profile data on Linux - Build the full command line for ↵Brian Sullivan1-2/+9
FEATURE_PAL" This reverts commit 08422af33fa2026953c2e720cecf000ed4345a32.
2019-04-26Revert "Added method ReleaseManagedCommandLine to release memory"Brian Sullivan1-5/+0
This reverts commit 1f2435763926f6068fc88a36a2b8dc49c263f271.
2019-04-25Added method ReleaseManagedCommandLine to release memoryBrian Sullivan1-0/+5
2019-04-25Fix for IBC profile data on Linux - Build the full command line for FEATURE_PALBrian Sullivan1-9/+2
Added public static function GetManagedCommandLine() andSaveManagedCommandLine() Add helper method Append_Next_Item Moved GetManagedCommandLine and SaveManagedCommandLine to ceeload to link crossgen Cleanup, codereview feedback
2019-04-04Runtime support for upcoming .NET Core WinRT Host (#23402)Jeremy Koritzinsky1-1/+1
* First pass at adding winrt host entry-point. * There's no way to specify HResult-swapping on a function called via hosted-interop so just return the HResult instead. * Use the WindowsRuntimeMarshal class to create the activation factory and initialize it. * Implement loading the dependent assemblies of a WinRT assembly into an isolated load context. * PR Feedback. * Fail to get the activation factory if the found type is not a managed type exported from a winmd. * Rearrange parameters based on PR feedback. * Remove unneeded include. * Make ActivationFactoryLoader internal. * Fix null-ref in WinRT-dependent-assembly loading * Remove extraneous "System."
2019-04-03Remove ADID and ADIndex from CoreCLR (#23588)David Wrighton1-45/+35
- 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-03-27Extend WindowsEventLog test for EntryPointFilter (#23178)Steve MacLean1-3/+16
* Extend WindowsEventLog test Verify EntryPointFilter solves logging problem with native host swallowing exceptions WindowsEventLog only look at new entries WindowsEventLog remove time check Add mechanism to corhost to emulate host swallowing all exceptions * PR feedback
2019-03-11Add EntryPointFilter option (#23054)Steve MacLean1-0/+6
* Add EntryPointFilter
2019-03-07Cleanup unused hosting interfaces (#23091)Jan Kotas1-1114/+2
2019-02-25Remove support for ICLRExecutionManager and pause/resume code for waits (#22834)Filip Navara1-157/+0
2019-02-21Remove unused perfcounter code (#22742)Sung Yoon Whang1-38/+2
* removing references to COUNTER_ONLY, ENABLE_PERF_COUNTERS in src/vm directory * removing perfcounters* files * Fix build * Remove PerfCounterSupportedBuild * Some more cleanup on the GC side
2019-02-09Set visibility option to hidden (#21924)Adeel Mujahid1-0/+1
2019-02-07Cleanup LLVM assumption (#22456)Sinan Kaya1-3/+3
We want to support GNU compilation for CoreCLR. Luckily both LLVM and GNU compilers define __GNUC__ and there are a lot of things they can share.
2019-01-26Cleanup stackoverflow handling leftovers (#22228)Jan Kotas1-1/+1
2019-01-23Remove all traces of FEATURE_STACK_PROBE. (#22149)Filip Navara1-78/+2
2018-12-17Do not use CorHost2::m_fStarted to gate execution (#20953)Steve MacLean1-19/+5
* ExecuteInDefaultAppDomain w/o Start Do not require Start() call before calling ExecuteInDefaultAppDomain() * Remove unused variable * Move flags as needed to CorHost2
2018-12-03Refactor all FCalls out of AppDomain.cs (#21337)Jan Kotas1-41/+79
This saves the unmanaged->managed->unmanaged trip to initialize the assembly binder. Includes small bits of unrelated cleanup.
2018-11-28Delete code related to LoaderOptimization and SharedDomain (#21031)Jan Kotas1-8/+1
2018-11-22Delete System.AppDomainSetup (#21157)Jan Kotas1-18/+8
* Delete System.AppDomainSetup Contributes to #21028 * Add test hook for null entry assembly * Validate that the binder paths are absolute
2018-11-15Delete HAS_FLS_SUPPORT and related code (#21035)Jan Kotas1-228/+3
2018-10-25Add IID_ICLRRuntimeHost QueryInterface supportSteve MacLean1-0/+6
2018-10-25Restore ExecuteInDefaultAppDomain implementationSteve MacLean1-3/+79
Restore deleted ExecuteInDefaultAppDomain implentation Enable for CoreCLR Cleanup for CoreCLR
2018-10-17Fix collectible NativeCallable UMThunkEntry lifetime (#20438)Jan Vorlicek1-1/+1
* Fix collectible NativeCallable UMThunkEntry lifetime The UMEntryThunk cache entries created for NativeCallable target methods for collectible classes were not properly cleaned up at the unload time. This change fixes that by adding UMEntryThunkCache on LoaderAllocator and using it for entries belonging to NativeCallable targets on collectible classes. The cache is created lazily. * Reflect PR feedback Remove the UMEntryThunk cache from the AppDomain and leave it just on the LoaderAllocator.
2018-10-04Remove AppDomain unload (#20250)Jan Vorlicek1-77/+12
* 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-07-31Delete FEATURE_IPCMAN (#19212)Jan Kotas1-330/+0
2018-03-27restrict memory limit by taking VM into consideration (#17177)Maoni Stephens1-8/+0
2018-03-26Only use FEATURE_PERFTRACING and FEATURE_EVENT_TRACE features when turned on ↵Adam Stark1-0/+4
(#17232)
2018-03-21Add More Process Information to EventPipe Traces (#17080)Brian Robbins1-0/+5
2018-01-04Remove duplicate callback to AppDomainCreationFinished in profiler (#15691)Sung Yoon Whang1-26/+0
2017-12-28Recognize STA\MTA Attribute For Main Function (#15652)Anirudh Agnihotry1-14/+1
* Apartment state set for main method * g_fWeownprocess removed and CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_FinalizeOnShutdown) set
2017-11-14Remove out-of-use method and properties from appdomain (#15029)Zhukov Maxim1-2/+0
Not supported on CoreCLR appdomain's method and properties were removed #15001
2017-10-18Improve thread statics performance (#14560)Jan Kotas1-65/+34
- Disable code to handle multiple appdomains - Use more efficient object array accessor
2017-10-11Delete !FEATURE_IMPLICIT_TLS (#14398)Jan Kotas1-48/+0
Linux and Windows arm64 are using the regular C/C++ thread local statics. This change unifies the remaining Windows architectures to be on the same plan.
2017-10-06Delete dead code (#14365)Jan Kotas1-4/+0
Delete some dead code related to Windows Phone and code access security
2017-06-12[Arm64/Unix] Add 64K page support (#10981)Steve MacLean1-2/+2
* [Arm64/Unix] Support 64K pages * GC move GCToOSInterface::Initialize() into InitializeGarbageCollector()
2017-05-17Finish deleting dead CAS code from CoreLib (#11436)Jan Kotas1-52/+3
Fixes #9321 and deletes CleanupToDoList.cs Delete unmanaged security implementation
2017-05-09Fix static analysis issues (#11466)Koundinya Veluri1-1/+1
Fix static analysis issues
2017-04-20[x86/Linux] Use CDECL as STDAPICALLTYPE (#10969)Jonghyun Park1-1/+1
* [x86/Linux] Use CDECL as STDAPICALLTYPE * Use system default calling convention for internal functions
2017-04-13Ensure Environment.ExitCode works correctly after app domain unloaded. (#10842)Jim Ma1-7/+34
* Ensure Environment.ExitCode works correctly after app domain unloaded. This PR addresses 2 problems of Environment.ExitCode: 1. Can't get correct exit code of main function. 2. Can't set %errorlevel%. Details can be found on #6206 Fix #6206
2017-03-05Remove hosting methods that always return false (#9930)Austin Wise1-81/+1
* 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_RWLOCKdanmosemsft1-1/+0
2017-02-14Remove never defined FEATURE_INCLUDE_ALL_INTERFACESdanmosemsft1-653/+5
2017-02-12Remove remainder of FEATURE_CORECLR (tool missed some files, also comments)danmosemsft1-5/+5