summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-05-13The PackagesDir property is used in places that expected a trailing slash.Aaron Robinson1-1/+1
2019-05-13Implement GC.GetTotalAllocatedBytes (#23852)Ludovic Henry12-11/+312
* keep what's allocated so far on each heap * Implement GC.GetTotalAllocatedBytes It is based on https://github.com/dotnet/corefx/issues/34631 and https://github.com/dotnet/corefx/issues/30644 * Fixing races related to dead_threads_non_alloc_bytes * separated per-heap SOH and LOH counters. Different locks imply that we need different counters. * allow/ignore torn 64bit reads on 32bit in imprecise mode. * PR feedback * simplified the test a little to avoid OOM on ARM
2019-05-13Fix build error for mscoree coreclr.exports (#24547)Gleb Balykov1-3/+7
This partially reverts #23853
2019-05-12Cleanup some build files (#24539)Aaron Robinson7-2095/+14
* Remove OsEnvironment, PackagesDir, and CoreCLRBinDir properties * Replace usage of __BuildArch with BuildArch * Simplify test timing out on ARM64
2019-05-12Fixed link to .NET Core SDK (#24544)Yoh Deadfall1-1/+1
2019-05-11Update UsingYourBuild.md (#24389)Dan Moseley1-2/+31
Change MyGet to the custom feeds. I found that for dotnet new console to restore, I needed an ASP.NET feed as well.
2019-05-10Fixing S.P.Corelib to not double include files and ensure that S.N.V is ↵Tanner Gooding6-42/+34
marked #nullable enable (#24526) * Changing EnableDefaultCompileItems=false to EnableDefaultItems=false * Taking the VS auto-fixes for the solution and corelib csproj * Removing the duplicated T4 file includes in the main csproj * Regenerating the included T4 templates * Fixing S.P.Corelib to properly list available platforms/configurations * Add a comment on the T4 template service
2019-05-10Fix EventCounter disable logic (#24519)Sung Yoon Whang1-0/+7
2019-05-10Disable a tail call test when using minopts (#24426)Koundinya Veluri1-0/+1
Disable a tail call test when using minopts Fixes https://github.com/dotnet/coreclr/issues/24424
2019-05-10Move EventProvider native layout to be driven by CMake configure (#24478)Jeremy Koritzinsky43-675/+704
* Generate eventpipe implementation as part of CMake configure. * Generate Etw provider as part of CMake configure. * First pass porting over lttng provider to cmake. * Fix up CMake Lttng provider generation. * Move Lttng provider into CMake tree. * Move dummy event provider to CMake * Move genEventing into the CMake tree. * Remove extraneous logging and unused python locator. * Clean up build.sh * Clean up genEventingTests.py * Add dependencies to enable more incremental builds (providers not fully incremental). * Convert to custom command and targets instead of at configure time. * Get each eventing target to incrementally build. * Fix incremental builds * Add missing dependencies on eventing headers. * PR Feedback. Mark all generated files as generated * Clean up eventprovider test CMakeLists
2019-05-10Re-enable accidentally disabled tests. (#24531)Jeremy Koritzinsky1-3/+0
2019-05-10Reenable IJW tests. (#24530)Jeremy Koritzinsky1-15/+0
2019-05-10Properly set the nuget cache for the repo (#24505)Aaron Robinson16-24/+32
* Properly set the nuget cache for the repo * Change coreclr NuGet package cache from "./packages" to "./.packages"
2019-05-10Remove obsolete commentsAndrew Au1-5/+0
2019-05-10Tweak a few nullable annotations (#24494)Stephen Toub4-19/+15
- Assembly.ToString() won't return null - Several attributes have the intent that their arguments are non-nullable, even though they don't check and throw; the annotations should match the intent in such cases.
2019-05-09Update dependencies from https://github.com/dotnet/corefx build 20190509.1 ↵dotnet-maestro[bot]2-6/+6
(#24495) - Microsoft.NETCore.Platforms - 3.0.0-preview6.19259.1 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview6.19259.1
2019-05-09Fix netstandard build for nullable annotationsStephen Toub1-0/+1
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2019-05-09Fix netfx build with nullable annotationsStephen Toub3-0/+3
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2019-05-09Dead string (#24516)Dan Moseley1-3/+0
2019-05-09[master] Update dependencies from dnceng/internal/dotnet-optimization (#24473)dotnet-maestro[bot]2-6/+6
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190509.1 - optimization.IBC.CoreCLR - 99.99.99-master-20190509.1 - optimization.PGO.CoreCLR - 99.99.99-master-20190509.1
2019-05-09Fix an overflow issue with eventpipe buffer size (#24512)Sung Yoon Whang1-1/+1
2019-05-09[X86/Linux] Fix error: no member named 'GetId' in 'AppDomain' when enabled ↵Leslie Zhai1-3/+3
Interpreter issue (#24513) https://github.com/dotnet/coreclr/issues/24492
2019-05-09Merge pull request #24482 from erozenfeld/Fix24159Eugene Rozenfeld4-5/+117
Mark local struct as having overlapping fields after struct reinterpretation
2019-05-09Fix memory leak in PAL_GenerateCoreDump (#24503)Mike McLaughlin1-11/+24
2019-05-09More cleanup of the HWIntrinsic test templates (#24455)Tanner Gooding593-18357/+69912
* Adding some templates from which other HWIntrinsic test templates can be generated * Regenerating the HWIntrinsic tests
2019-05-09Mark local struct as having overlapping fields after struct reinterpretationEugene Rozenfeld4-5/+117
Methods like System.Runtime.CompilerServices.Unsafe.As<TFrom, TTo> may have struct reinterpretation when function signature specifies Struct1& and the method returns Struct2& where Struct1 and Struct2 are different structs. This may confuse jit optimizations (in particular, value numbering) because fields of a struct of type Struct1 may be accessed using handles of Struct2. This fix marks the source local involved in such struct reinterpretation as having overlapping fields. That prevents SSA builder from inserting the local into SSA. Fixes #24159. No diffs in framework assemblies and coreclr benchmarks.
2019-05-09Add a new version of ContentionEnd event (#22487)Gregory LEOCADIE3-4/+53
Add new contention event - This new event contains the duration of the contention. - Compute duration and emit contention events only when Contention keyword is activated
2019-05-09Merge pull request #24456 from briansull/ibc-workBrian Sullivan26-256/+262
IBC refactor - Zero Diff, rename types and methods
2019-05-09Turn on nullability for all of Corelib (#24497)Stephen Toub1446-1461/+8
* Enable nullable at the project level * Remove `#nullable enable` from individual files Removes `#nullable enable` from almost all .cs files in System.Private.CoreLib. I left it only in the ~30 files (out of ~1480 that had it) that are mirrored to corefx, that are built into projects by corefx that don't yet set NullableContextOptions at the project level, and that use nullable annotations; otherwise, they'd break the corefx build.
2019-05-09Delete suspicious code in delegate construction (#24493)Michal Strehovský5-76/+308
This reverts commit 0786da806b9727c466f3f9393cb3d55cf9df7536.
2019-05-09[master] Update dependencies from dotnet/corefx (#24314)dotnet-maestro[bot]7-11/+16
* Update dependencies from https://github.com/dotnet/corefx build 20190506.1 - Microsoft.NETCore.Platforms - 3.0.0-preview6.19256.1 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview6.19256.1 * Use last stable version of System.Numerics.Vectors package * Add Microsoft.Bcl.AsyncInterfaces package * Disable Microsoft.Bcl.AsyncInterfaces
2019-05-09Fix ComActivator typo. (#24485)Jeremy Koritzinsky2-7/+7
2019-05-08Return the required padding size instead of the current position to avoid ↵Andrew Au3-17/+9
integer overflow.
2019-05-08Remove premature throw (#24450)Steve MacLean2-24/+26
* Remove premature throw ResolveUsingEvent is no longer the last resort for Assembly resolution and should not be throwing simply because the Assembly.Resolve event did not find the Assembly * Delay throw FileNotFound until after AppDomain.AssemblyResolve
2019-05-08Fix ETL event rejit IDs and sending of the IL to native map event when code ↵Koundinya Veluri7-110/+126
versioning is in use (#24422) Fix ETL event rejit IDs and sending of the IL to native map event when code versioning is in use Fixes https://github.com/dotnet/coreclr/issues/22904 Fixes https://github.com/dotnet/coreclr/issues/22908 - Method events now always send the native code ID for the rejit ID, and the IL to native map event continues to send the IL code ID - Took code versioning into account when sending rundown events for a method including the IL to native map
2019-05-08Merge pull request #24479 from dotnet/UpdateHelixSDKDivino César2-3/+3
Update Helix SDK Version - Master branch
2019-05-08Fix scenarios where SPCL is not crossgen'd and the output is not in the bin ↵Aaron Robinson1-8/+14
directory (#24477)
2019-05-08Add support in SPCL to call into user supplied register and unregiste… ↵Aaron Robinson5-19/+430
(#24452) * Add support in SPCL to call into user supplied register and unregister functions
2019-05-08Merge pull request #24462 from briansull/fix-24440Brian Sullivan1-1/+6
Fix 24440
2019-05-08Merge pull request #24366 from sandreenko/fixLogPrintingSergey Andreenko2-7/+13
Fix some small issues with stress logging.
2019-05-08Send UTF16 dump file name (#24475)Mike McLaughlin1-5/+13
2019-05-08Specify version.dll and add notification hook for delay load (#24449)Elinor Fung3-0/+31
Mitigates an issue with hijacking of version.dll. This is particularly an issue for self-contained and single-file-exe apps, as the hijacking in those cases does not require access to a machine-wide .NET Core install.
2019-05-08Fix 23317. (#24383)Fadi Hanna3-13/+105
The issue is that a LDVIRTFTN operation becomes a dictionary lookup to a direct call to an abstract function with no code. We AV later when executing the PreStub of that direct call. Fixed by making this a dictionary lookup to a MethodDescSlot lookup, followed by the call to the JIT_VirtualFunctionPointer helper to resolve the target code (Same logic executing in jitted IL mode)
2019-05-08Remove more MDA support code (#24457)Steve MacLean62-8230/+21
* Remove more MDA support code * PR Feedback
2019-05-08Fix Issue 24440Brian Sullivan1-1/+6
gtGetStructHandleIfPresent can return nullptr (NO_CLASS_HANDLE)
2019-05-08Update Version.Details.xmlDivino César1-2/+2
2019-05-08Update global.jsonDivino César1-1/+1
2019-05-08Two additional minor changesBrian Sullivan2-3/+3
2019-05-08Prefer UINT32 over DWORD in the IBC BlockCount API'sBrian Sullivan16-65/+65
2019-05-08Add a check to prevent mixed-mode assemblies from being compiled into R2R ↵Fadi Hanna1-0/+6
(#24451)