summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-08-16Determine memory load based on cgroup usage. (#19518)Tom Deseyn5-7/+62
cgroup usage is used to trigger oom kills. It includes rss and file cache of the cgroup. The implementation was only using the process rss to determine memory load. This is less than the cgroup usage and leads to oom kills due to GC not being triggered soon enough.
2018-08-16Add an empty console application to measure startup of the runtime. (#19490)José Rivero1-0/+104
2018-08-16Disable a regex test that is failing with minopts (#19488)Koundinya Veluri1-0/+14
See dotnet/coreclr#18912. This test would always fail once tiered compilation is enabled by default in CoreFX test runs in the CoreCLR repo.
2018-08-16Build-test.sh handles native test assets (#19430)Aaron Robinson11-639/+736
* Respect Windows script argument to skip package building. * Bring build.sh logic closer to build.cmd with respect to passing CMAKE flags for building tests * Make cmake gen script find override file without using script arguments * build-test.sh can now build native test projects Remove compileoptions.cmake and push contents into configurecompiler.cmake which contains compiler configuration from repo root CMakeLists.txt
2018-08-16Some JitBench fixes (#19479)Koundinya Veluri9-29/+135
Some JitBench fixes - Fixed `dotnet run` from the `unofficial_dotnet` folder after `Directory.Build.targets` was added to `coreclr/tests/src`. This file is auto-imported and was adding dependencies and properties for targets that were not necessary. Added files to the root JitBench folder to override. - Updated JitBench to be able to run against netcoreapp3.0. I haven't changed the default yet, could consider doing so once there are no pending perf issues being looked into. - Added a `RetargetProjects()` function to the setup steps to replace `TargetFramework` and `RuntimeFrameworkVersion` values in the relevant `.csproj` files to run against the expected runtime. This reduces some dependency on other repos containing the actual perf projects such that we don't have to update every repo to support environment variables to set those values. - Disabled tiering for the `MinOpts` config
2018-08-16JIT: bail out in optExtractArrIndex for constant array length (#19493)Andy Ayers3-4/+76
Generalize the bail out pattern to handle cases from spans where we may see a known array length in a bounds check. Fixes #19454
2018-08-16Optimize NumberBufferToDecimal (#19072)Pent Ploompuu2-104/+65
2018-08-16Merge pull request #19396 from CarolEidt/Fix19288Carol Eidt5-24/+141
Fix non-lclVar odd-byte struct passing
2018-08-15Make file handle checks accurate on Windows (#19508)Jeremy Kuhne8-69/+180
* Make handle checks accurate on Windows We can actually check the async state of a handle on Windows, so check directly when we have the API available. Also allow all filetypes through when explicitly using extended syntax `\\?\` . * Fix nits * Don't throw in the handle constructor overloads * Whoops * Removing the close handle entirely. No adverse effects from closing a bad handle- or leaving it open for that matter.
2018-08-15Revert "Temporarily flag a SIMD test as optimization-sensitive (#19163)" ↵Koundinya Veluri1-2/+0
(#19505) This reverts commit 855ddf52c7b05994cf6728b9169fa6cdc694a537. Issue https://github.com/dotnet/coreclr/issues/19124 was fixed by PR https://github.com/dotnet/coreclr/pull/19234, so re-enabling the test in minopts and with tiering.
2018-08-15Update JapaneseLunisolarCalendar.cs (#19504)elyoh1-96/+95
Corrects an issue with the conversion table for Gregorian to Japanese lunisolar dates. See: #19450. Issue: data discrepancy in year 1962. Table entry for 1962 has incorrect days per month for months 6 and 7. Notes The DaysPerMonth flag uses the binary literal for ease of readability.
2018-08-15JIT: properly handle special-case varargs params in minopts (#19489)Andy Ayers1-3/+21
We were previously marking all lcl vars as implicitly referenced in minopts, but there are some special varargs params that can't ever be marked as referenced, either implicitly or explicitly. Special case these when computing or checking ref counts in minopts. Closes #19349.
2018-08-15Revert "Change CoreLib native image to be R2R by default on all platforms ↵Jan Kotas1-5/+16
(#19359)" (#19501) This reverts commit d485659348af3528b688ac5b7e4c58dacba6de58.
2018-08-15Add Public API Marshal.IsTypeVisibleFromCom and Marshal.GetEndComSlot (#19507)Luqun Lou3-1/+29
2018-08-15R2RDump - GcInfo for x86Amy Yu44-701/+4618
x86 GcInfo headers x86 GcSlotTable x86 GcTransitions Update expected xml for R2RDumpTests Add license headers Allow multiple GcTransitions with same codeOffset Add index property in GcSlot, make GcSlot a class instead of struct, add missing spaces, update tests Remove placeholder functions for parsing partially interruptible pointer tables Implement partially interruptible GcInfo Example GcInfo output: CodeLength: 22 bytes InfoHdr: PrologSize: 7 EpilogSize: 4 EpilogCount: 1 EpilogAtEnd: yes Callee-saved regs = EBP EbpFrame: yes Fully Interruptible: yes DoubleAlign: no Arguments Size: 0 DWORDs Stack Frame Size: 1 DWORDs UntrackedCnt: 1 VarPtrTableSize: 0 GenericsContext: 0 GenericsContextIsMethodDesc: 0 ReturnKind: RT_Scalar RevPInvokeOffset: 0 Epilogs: 18 GcSlots: ------------------------- [EBP-4] Flags: GC_SLOT_UNTRACKED LowBits: ------------------------- 28fc: 55 push ebp 28fd: 8b ec mov ebp, esp 28ff: 50 push eax 2900: 89 4d fc mov dword ptr [ebp - 4], ecx 2903: 8b 4d fc mov ecx, dword ptr [ebp - 4] 2906: ff 15 10 10 01 10 call dword ptr [268505104] reg ECX becoming live 290c: 90 nop reg ECX becoming dead 290d: 90 nop 290e: 8b e5 mov esp, ebp 2910: 5d pop ebp 2911: c3 ret
2018-08-15Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03115-01, ↵dotnet-maestro-bot3-13/+13
preview1-26815-04, preview1-26815-04, preview1-26815-01, master-20180815-0120, respectively (#19494)
2018-08-14Merge pull request #19487 from acmyu/disableBruce Forstall1-3/+3
ExcludeList for R2RDumpTests in wrong ItemGroup
2018-08-14Add TypeConverter fallback to DefaultValueAttribute (#19354)Marco Rossignoli1-5/+31
2018-08-14Update debugging and createdump docs. (#19495)Mike McLaughlin2-5/+9
2018-08-14ExcludeList for R2RDumpTests in wrong ItemGroupAmy Yu1-3/+3
2018-08-14Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03110-01, ↵dotnet-maestro-bot3-13/+13
preview1-26814-06, preview1-26814-01, preview1-26814-01, master-20180814-0056, respectively (#19377)
2018-08-14Disable R2RDumpTests (#19475)Amy1-0/+3
2018-08-14Delete dead code (#19452)Jan Kotas12-1216/+4
Unused strong name signing paths and related code
2018-08-14Translate [rip +- offset] to absolute RVA's in R2RDump (#19219)Tomáš Rylek4-19/+106
* Translate [rip +- offset] to absoluate RVA's in R2RDump The existing logic for displaying rip-relative addressed on X64 make it very hard to calculate the final addresses. I have added a horrendous hack using textual analysis of the disassembled instruction to translate this notation to absolute RVA's. As part of this effort I have also encapsulated the CorDisTools helper in a new class Disassembler that also contains customizable provisions for handling special assembly cases on the individual architectures. Thanks Tomas * Temporarily block out disassembly to make tests pass In my initial commit I removed the line blocking out disassembly however this ends up failing several lab tests so I'm putting the line back. Thanks Tomas
2018-08-14Code review feedback for the alternate stack changes (PR #19309). (#19476)Mike McLaughlin6-19/+12
Fixed SOS plugin for core dumps.
2018-08-13Update URLs and exclusion list for staging (#19423)Andon Andonov1-373/+88
* Update URLs and exclusion list for staging * Update Failing tests * Fix IO test namespace * Add 2 failing Ubuntu tests * Exclude test under Ubuntu * Add regressed test * Roll-back CI URLs * Add issue number
2018-08-13Merge pull request #19463 from BruceForstall/FixArmHeapVerifyBruce Forstall3-2/+3
Disable 3 tests for Windows/arm32 HeapVerify runs
2018-08-13disable tests\src\JIT\Methodical\fp\exgen\10w5d_cs_do (#19465)Sergey Andreenko1-0/+2
in stress modes. The issue is #18988
2018-08-13Merge pull request #19469 from BruceForstall/DisableVectorDotBruce Forstall1-1/+1
Disable VectorDot_ro.cmd_9267 for Windows arm64 R2R
2018-08-13Disable VectorDot_ro.cmd_9267 for Windows arm64 R2RBruce Forstall1-1/+1
Tracked by #18991
2018-08-13Merge pull request #19466 from BruceForstall/Disable163200Bruce Forstall1-1/+1
Disable test b163200 under GCStress
2018-08-13Disable test b163200 under GCStressBruce Forstall1-1/+1
Tracked by #19464
2018-08-13Disable 3 tests for Windows/arm32 HeapVerify runsBruce Forstall3-2/+3
They all time out. Fixes #19462
2018-08-13Merge pull request #19459 from BruceForstall/Disable437044Bruce Forstall1-1/+1
Exclude 437044.cmd_10304 from GCStress runs
2018-08-13Exclude 437044.cmd_10304 from GCStress runsBruce Forstall1-1/+1
This test times out on ARM Windows R2R GCStress15 runs.
2018-08-13Add a skipmanaged option to build.sh (#19111)Omair Majid1-1/+12
This option is the opposite of -msbuildonunsupportedplatform, and an managed version of of -skipnative. This is useful for bootstrapping on new Linux/x64 distributions, where dotnet may not work (yet) but coreclr will try and use it anyway, failing the bootstrap scripts. See also https://github.com/dotnet/source-build/issues/663 for additional background information.
2018-08-13Merge pull request #19458 from BruceForstall/DisableTestsBruce Forstall1-0/+1
Disable System.Linq.Expressions.Tests against #19457
2018-08-13Disable System.Linq.Expressions.Tests against #19457Bruce Forstall1-0/+1
2018-08-13Remove unused local from List<T>.RemoveRange (dotnet/corefx#31727)Robin Sue1-1/+0
`int i` appears to be unused so i removed it. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-12non shared changes and feedback addressedAnipik3-13/+23
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-12Fix a couple of apartment state issues (#19384)Koundinya Veluri5-12/+28
* Fix a couple of apartment state issues Fix for https://github.com/dotnet/coreclr/issues/17822 - The apartment state now defaults to MTA for the main thread along with a CoInitialize - Calling `Thread.SetApartmentState` with STA now fails as expected (different behavior from previous netcore, same behavior as netfx) Fix for https://github.com/dotnet/coreclr/issues/17787 - `WaitHandle.WaitAll` for multiple handles is not supported on an STA thread due to issues described in https://github.com/dotnet/coreclr/issues/17787#issuecomment-385117537 - It now throws `NotSupportedException` as expected (different behavior from previous netcore, same behavior as netfx) Fix for https://github.com/dotnet/coreclr/issues/19225 * Temporarily exclude invalid CoreFX test
2018-08-12Create Microsoft.IO.Redist (dotnet/corefx#31679)Jeremy Kuhne7-36/+69
* Create Microsoft.Internal.IO Includes all of Path, Directory, *Info, etc. from System.IO with targets of NetFX 4.6.1 and NetCore 2.1. * Tweaks / minor fixes * Remove netstandard build. * Add package Update to build for 4.7.2 only * Rename folder to prepare for project rename * Change the name to Microsoft.IO.Redist * Namespace tweaks * Use open key, tweak references * More tweaks on feedback Also grab latest build tools for 4.7.x RIDs Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2018-08-12Silence WinRT type assert in crossgen (#19442)Simon Nattress1-1/+0
Disable type loader assert that fires when resolving a type from a WinMD. Instead, compilation should fail gracefully, or at runtime a type load exception will be thrown.
2018-08-11[local gc] disable feature redhawk (#17769)David Mason11-55/+30
2018-08-11Make RuntimeType sealed and deleted support for introspection only loads ↵Jan Kotas67-867/+182
(#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.
2018-08-11moved to shared (#19419)Anirudh Agnihotry6-18/+27
2018-08-10Moved SpinLock.cs to shared (#19391)Anirudh Agnihotry3-60/+60
* m removed from names, spaces after \\ and braces added * Moved to shared
2018-08-10Don't early terminate on null for 64bit NR HashCode (#19331)Ben Adams3-45/+28
* Don't early terminate on null for 64bit NR HashCode * Improved GetNonRandomizedHashCode * Update message on GetNonRandomizedHashCode * Consume null terminator rather than special case odd lengths
2018-08-10Merge pull request #19434 from BruceForstall/DisableR2rDumpTest2Bruce Forstall1-0/+5
Disable R2RDumpTest for JIT stress modes
2018-08-10Disable R2RDumpTest for JIT stress modesBruce Forstall1-0/+5