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-06Fix stresslog (#4062)Jan Kotas
- Fix initialization of stress log, cleaned up the overall initialization sequence - Remove spurious NO_STRESSLOG definion that disabled some of the stresslogging
2017-01-08Implement SetLastError DllImport flag functionalityFaizur Rahman
Call PInvokeMarshal.SaveLastWin32Error after the P/Invoke call to ensure the last error is saved in thread local variable which can be later accessed through PInvokeMarshal.GetLastWin32Error. Additionally, I have rename ParameterAttributes to ParameterMetadataAttributes to avoid the confusion with System.Reflection.ParameterAttributes. This change also makes sure PInvoke works on Unix and also get rids of build warning on windows.
2016-11-26Fix shutdown hang when running CoreCLR tests (#2264)Jan Kotas
- Call RhpShutdown before returning from C++ main method. This will tell the runtime skip thread cleanup that otherwise leads to intermittent deadlock in half-torn down process state. - Apply the same fix to Environment.Exit. - Switch CppCodeGen to the fixed bootstrap main method so that it can naturally get this fix as well. Fixes #2222.
2016-04-29Implement type casting cacheScott Mosier
This checkin is an adaptation of a cache used in the type loader. It is applied to our type casting APIs and brings a significant performance improvement to any type-cast-heavy workload. The cache has an initial tuning that looks reasonable, but should still be considered provisional as we gather more data on its behavior across various workloads. [tfs-changeset: 1600411]
2016-03-10Replace numeric thread id by an opaque oneJan Vorlicek
This change replaces usages of the uint thread id by EEThreadId at places where we use it for thread matching. It also adds new PAL function GetPalThreadIdForLogging that returns a numeric thread id for logging purposes if the target platform supports it. The reason for this change is that in pthreads, thread id is an opaque struct and numeric id existence is platform specific.
2016-02-27Merge remote-tracking branch 'upstream/nmirror' into nmirror-mergeJan Kotas
Conflicts: src/Native/Runtime/PalRedhawkFunctions.h src/Native/Runtime/RhConfig.cpp src/Native/Runtime/RhConfig.h src/Native/Runtime/gcrhenv.cpp src/Native/gc/env/gcenv.base.h
2016-02-26Fix some Prefast issues under ndp\rh and ndp\FxCore\CoreRT.dotnet-bot
Bug: https://devdiv.visualstudio.com/web/wi.aspx?pcguid=011b8bdf-6d56-4f87-be0d-0092136884d9&id=195206 [tfs-changeset: 1578980]
2016-02-10Refactor FLS usage in PALJan Vorlicek
This change abstracts the FLS usage for thread shutdown notification in PAL into a general thread shutdown callback registration mechanism. It also implements its Unix version.
2016-01-28Merge branch 'nmirror' into nmirror_mergeJan Kotas
Conflicts: src/Common/src/Interop/Windows/mincore/Interop.MEMORY_BASIC_INFORMATION.cs src/ILCompiler.Compiler/src/Compiler/PdbSymbolProvider.cs src/Native/Bootstrap/platform.h src/Native/Bootstrap/platform.windows.cpp src/Native/gc/env/gcenv.windows.cpp src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ArrayMethodILHelpers.cs tests/src/Simple/AsgAdd1/AsgAdd1.cs
2016-01-28Update licensing headersdotnet-bot
2016-01-27Implement several minor PAL functionsJan Vorlicek
This change implements GetEnvironmentVariableA, PalReadFileContents and changes PalGetCurrentProcessorNumber to work on all platforms that have sched_getcpu instead of just Linux (it is done the same way in CoreCLR). I've also removed one unused function and one prototype.
2016-01-26Add abstraction for string encoding of the underlying OS to GCToOSInterfaceJan Kotas
It is modeled after TCHAR used for similar purpose in Windows SDK. It allows us to eliminate need for Unicode conversions in the Unix runtime.
2016-01-15Merge branch 'nmirror' into nmirror-mergeJan Kotas
Conflicts: src/Native/Runtime/unix/PalRedhawkUnix.cpp src/Native/gc/gc.cpp
2016-01-13Repoint MRT Native sources to the open treeScott Mosier
- delete duplicate files - fixup project files - fixup minor errors when using sources from open tree [tfs-changeset: 1564216]
2016-01-12GC to OS interface refactoringJan Vorlicek
Port changes from CoreCLR Update Runtime as needed Remove functions that are not needed anymore for Unix
2015-11-20Changes required to integrate code back into ProjectN treeScott Mosier
2015-10-24Enable compilation of the runtime on LinuxJan Vorlicek
This change enables compilation of the runtime excluding the PAL layer on Linux. Most of the changes are just to make it build with clang that's more strict w.r.t. the C++11 standard. In addition to that, I have removed our implementation of the new / delete operators and replaced all calls to new in the runtime by new (nothrow).
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.