platform/upstream/dotnet/runtime.git
6 years agoMask shift value for shift [mem], const
Jakob Botsch Nielsen [Thu, 23 Aug 2018 21:01:34 +0000 (23:01 +0200)]
Mask shift value for shift [mem], const

The shift value needs to be masked as otherwise the emitter may end up
believing it needs 4 bytes for constants >= 128. Since an encoding with
4-byte immediate does not exist for shifts, the last part of the
immediate would be interpreted as code and executed.

This was only a problem for constants between 128 and 256 as other
constants are not currently contained.

Fixes dotnet/coreclr#19601

Commit migrated from https://github.com/dotnet/coreclr/commit/bf31aae139d9bbdf9d1ba3232fea2b390b53ae27

6 years agoFix broken documentation links into mscorlib code (dotnet/coreclr#19598)
Drew Noakes [Wed, 22 Aug 2018 12:54:20 +0000 (13:54 +0100)]
Fix broken documentation links into mscorlib code (dotnet/coreclr#19598)

Commit migrated from https://github.com/dotnet/coreclr/commit/fea6dcacb820057eb24a25b97c337b5dcf881301

6 years agoAesGcm, AesCcm (dotnet/corefxdotnet/coreclr#31389)
Krzysztof Wicher [Tue, 21 Aug 2018 21:55:33 +0000 (14:55 -0700)]
AesGcm, AesCcm (dotnet/corefxdotnet/coreclr#31389)

* AesGcm, AesCcm

* add osx stubs

* disable tests on osx and desktop (APIs not there/not supported)

* TagByteSizes on OSX

* fix TagByteSizes compilation error

* apply review feedback

* fix typo when setting tag/nonce length in ccm

* add missing SetCcmTagLength

* attempt to detect if ccm is available on Ubuntu 14.04

* disable tests on ubuntu 14.04, attempt for osx support

* attempt to fix osx

* fix osx

* review feedback

* disable new ccm testcases on ubuntu 14.04

* attempt to make Ubuntu 14.04 work

* add Interop.Initialization to OSX

* fix KeySizeHelpers after merge conflict

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/4804b07868d3da2c69a31469bdae9365a63739be

6 years agoR2RDump - Interweave x64 unwind codes into disasm (dotnet/coreclr#19577)
Amy [Wed, 22 Aug 2018 02:18:33 +0000 (19:18 -0700)]
R2RDump - Interweave x64 unwind codes into disasm (dotnet/coreclr#19577)

* Interweave unwind codes into disasm, fix incorrect x64 register names

* Fix xml dump errors

Commit migrated from https://github.com/dotnet/coreclr/commit/1c2bb89a1b8f6f49167657bccabdf9d0d25756e6

6 years agoMerge pull request dotnet/coreclr#19572 from briansull/fmt-vn
Brian Sullivan [Tue, 21 Aug 2018 20:48:15 +0000 (13:48 -0700)]
Merge pull request dotnet/coreclr#19572 from briansull/fmt-vn

Define FMT_VN as "$%x" and use it uniformly in the codebase

Commit migrated from https://github.com/dotnet/coreclr/commit/2057943a230eb240ead8c297bf04f567e2efac07

6 years agoMerge pull request dotnet/coreclr#19581 from sergign60/unwind_fix
Bruce Forstall [Tue, 21 Aug 2018 18:30:49 +0000 (11:30 -0700)]
Merge pull request dotnet/coreclr#19581 from sergign60/unwind_fix

[corert armel] Fixed CoreRT issue dotnet/coreclr#5874 for non-callee-saved regs

Commit migrated from https://github.com/dotnet/coreclr/commit/5d5d9165ca0d90fd7ebf0e6216c4a5dad238917c

6 years agoDefine FMT_VN as "$%x" and use it uniformly in the codebase
Brian Sullivan [Tue, 21 Aug 2018 00:32:13 +0000 (17:32 -0700)]
Define FMT_VN as "$%x" and use it uniformly in the codebase

We use a unique prefix character when printing value numbers in dumps:  i.e.  $1c0
This define is used with string concatenation to put this in printf format strings

Commit migrated from https://github.com/dotnet/coreclr/commit/904ac5f6484831b94ca01d195e2e68bd0c435a8a

6 years agoCleanup unnecessary casts in roundUp
Egor Chesakov [Tue, 21 Aug 2018 00:08:18 +0000 (17:08 -0700)]
Cleanup unnecessary casts in roundUp

Commit migrated from https://github.com/dotnet/coreclr/commit/de7a416d55f309c36fd883e94d3263d60dc86e8c

6 years agoAdd roundUp(unsigned size, unsigned mult) and roundDn(unsigned size, unsigned mult...
Egor Chesakov [Mon, 20 Aug 2018 20:18:08 +0000 (13:18 -0700)]
Add roundUp(unsigned size, unsigned mult) and roundDn(unsigned size, unsigned mult) to 64-bit host in src/jit/jit.h

Commit migrated from https://github.com/dotnet/coreclr/commit/5b844783ae804bafc3dac2fe9c1ab39784bab44e

6 years ago[corert armel] Fixed CoreRT issue dotnet/coreclr#5874 for non-callee-saved regs
Sergey Ignatov [Tue, 21 Aug 2018 09:37:43 +0000 (12:37 +0300)]
[corert armel] Fixed CoreRT issue dotnet/coreclr#5874 for non-callee-saved regs

Commit migrated from https://github.com/dotnet/coreclr/commit/3d453307f82bbfe3496333f347be2828dd745869

6 years agoHandle null byref in helper (dotnet/coreclr#19571)
Carol Eidt [Tue, 21 Aug 2018 08:44:07 +0000 (01:44 -0700)]
Handle null byref in helper (dotnet/coreclr#19571)

Add JIT_ByRefWriteBarrier to IsIPInMarkedJitHelper so that a null dereference will be handled.

Fix dotnet/coreclr#19444

Commit migrated from https://github.com/dotnet/coreclr/commit/4d9c822c062b3a97ab16ef0f9c7a33be79819fe9

6 years agoBackout change to pass -ibcoptimize in official builds
adiaaida [Tue, 21 Aug 2018 00:59:07 +0000 (17:59 -0700)]
Backout change to pass -ibcoptimize in official builds

Commit migrated from https://github.com/dotnet/coreclr/commit/41f78344b91bbd40cce288269292f3f7301b60a7

6 years agoStop using size_t for passing immediate values in CodeGen CodeGenInterface (dotnet...
Egor Chesakov [Tue, 21 Aug 2018 03:19:08 +0000 (20:19 -0700)]
Stop using size_t for passing immediate values in CodeGen CodeGenInterface (dotnet/coreclr#19544)

Commit migrated from https://github.com/dotnet/coreclr/commit/241789a114c4ef0250d7298144b15841416c196e

6 years agoR2RDump - Add image describing R2R format (dotnet/coreclr#19528)
Amy [Tue, 21 Aug 2018 02:43:17 +0000 (19:43 -0700)]
R2RDump - Add image describing R2R format (dotnet/coreclr#19528)

* Add image describing R2R format

* Remove help message stating -v option dumps raw bytes

Commit migrated from https://github.com/dotnet/coreclr/commit/6ce310bcebfc125380584821229d39fd25d994dd

6 years agoFix tiered compilation option for case-sensitive systems (dotnet/coreclr#19567)
Andy Ayers [Tue, 21 Aug 2018 01:38:30 +0000 (18:38 -0700)]
Fix tiered compilation option for case-sensitive systems (dotnet/coreclr#19567)

Commit migrated from https://github.com/dotnet/coreclr/commit/61967effdb1a2fa3a47074b183ae96df79c8aa3a

6 years agoMerge pull request dotnet/coreclr#19334 from CarolEidt/Fix19243
Carol Eidt [Mon, 20 Aug 2018 23:57:40 +0000 (16:57 -0700)]
Merge pull request dotnet/coreclr#19334 from CarolEidt/Fix19243

Fix evaluation order for block copy

Commit migrated from https://github.com/dotnet/coreclr/commit/f628f287ab911d469a490756c8d0c5e1bf1cac84

6 years agoAdd IBC support (dotnet/coreclr#19046)
Michelle McDaniel [Mon, 20 Aug 2018 22:21:58 +0000 (15:21 -0700)]
Add IBC support (dotnet/coreclr#19046)

This change adds support to consume IBC data packages that are created by the dotnet/optimization repository. With these changes and dotnet/buildtoolsdotnet/coreclr#2103 to enable IBC optimizations for corefx, we will see a 32% decrease in the size of NetCoreApp (and an overall decrease of 16%), a 30% reduction in ref set, a 5% improvement in time to first request and steady state performance for MusicStore.

Size

  Crossgen Partial Partial vs Crossgen (lower is better)
Shared (MB) 185.6 137.3 0.74
Microsoft.NETCore.App (MB) 115.6 67.4 0.58
RefSet

MusicStore

  Crossgen Partial Partial vs Crossgen (lower is better)
Total 19.389 13.472 0.69
AllReady

Crossgen Partial Partial vs Crossgen (lower is better)
Total 17.58 12.214
Performance

MusicStore

  Crossgen Partial Partial vs Crossgen (lower is better)
Server Start (ms) 870 870.6 1.00
First request (ms) 3532.6 3386.6 0.95
Steady State (ms) 2.926 2.79 0.95
AllReady

Crossgen Partial Partial vs Crossgen (lower is better)
Server Start (ms) 2102 1942.4
First Request (ms) 4263.2 4126
Steady State (ms) 5.69 5.68
TechEmpower Plaintext

Crossgen Partial Partial vs Crossgen (lower is better)
Requests per Second 1928649.8 1893183.8
First Request (ms) 76.14 80.11
Startup (ms) 391 372.8
Working Set (MB) 382.2 373.4

Commit migrated from https://github.com/dotnet/coreclr/commit/e30616f7810838f94170786d9477df2423f4fa09

6 years agoJIT: remove incremental ref count updates (dotnet/coreclr#19345)
Andy Ayers [Mon, 20 Aug 2018 22:03:29 +0000 (15:03 -0700)]
JIT: remove incremental ref count updates (dotnet/coreclr#19345)

Remove almost all of the code in the jit that tries to maintain local ref
counts incrementally. Also remove `lvaSortAgain` and related machinery.

Explicitly sort locals before post-lower-liveness when optimizing to get the
best set of tracked locals.

Explicitly recount after post-lower liveness to get accurate counts after
dead stores. This can lead to tracked unreferenced arguments; tolerate this
during codegen.

Commit migrated from https://github.com/dotnet/coreclr/commit/895bfa452da4aeeda52447e76d9e9e987d68f331

6 years agoUpdate Microsoft.NETCore.CoreDisTools to version 1.0.1-prerelease-00005 (dotnet/corec...
Zach Montoya [Mon, 20 Aug 2018 21:08:41 +0000 (14:08 -0700)]
Update Microsoft.NETCore.CoreDisTools to version 1.0.1-prerelease-00005 (dotnet/coreclr#19520)

* Update Microsoft.NETCore.CoreDisTools to version 1.0.1-prerelease-00005. Temporarily add a direct reference to the win-x64 and win-x86 runtime packages

* Change Microsoft.NETCore.CoreDisTools package references to the identity package.

Improve formatting of R2RDump.csproj properties.

* Add an ArgumentException to explain the currently faulty behavior where disassembling an R2R image whose architecture is different than the coredistools.dll architecture.

* Add Issue dotnet/coreclr#19564 to the R2RDump.cs Disassembler comment

Commit migrated from https://github.com/dotnet/coreclr/commit/ab8023d9e2d70072d0017191eacca449c4e1c33b

6 years agoFix dbgshim's > 1000 module bug (issue dotnet/coreclr#19538) (dotnet/coreclr#19553)
Mike McLaughlin [Mon, 20 Aug 2018 20:33:05 +0000 (13:33 -0700)]
Fix dbgshim's > 1000 module bug (issue dotnet/coreclr#19538) (dotnet/coreclr#19553)

Fix dbgshim's > 1000 module bug (issue dotnet/coreclr#19538)

Cap cbNeeded on second EnumProcessModules call. Change the allocations
to HMODULE to make sure they are aligned properly.

Commit migrated from https://github.com/dotnet/coreclr/commit/ba9598ee52cb8da554255ccd09945d2baae4aecb

6 years agoFix issues with calling convention in tests. (dotnet/coreclr#19548)
Aaron Robinson [Mon, 20 Aug 2018 19:00:54 +0000 (12:00 -0700)]
Fix issues with calling convention in tests. (dotnet/coreclr#19548)

Commit migrated from https://github.com/dotnet/coreclr/commit/438f7bcf938285c24d41227dcee0967cee449d54

6 years agoAdd comment
Carol Eidt [Mon, 20 Aug 2018 17:44:41 +0000 (10:44 -0700)]
Add comment

Commit migrated from https://github.com/dotnet/coreclr/commit/6ea024a4b60287af40280d774bfdae1ed05489fc

6 years agoNormalize whitespace/indentation
Clinton Ingram [Mon, 20 Aug 2018 11:09:45 +0000 (04:09 -0700)]
Normalize whitespace/indentation

Commit migrated from https://github.com/dotnet/coreclr/commit/04d9b557ef8b7c60a1194d062c7c2ee6e41fd8c1

6 years agoUpdate t4 templates to generate simplified type names
Clinton Ingram [Mon, 20 Aug 2018 11:06:30 +0000 (04:06 -0700)]
Update t4 templates to generate simplified type names

Commit migrated from https://github.com/dotnet/coreclr/commit/b8f5be8ddb9b9cb92aa5816b94a864696219e1bf

6 years agoMark some readonly fields readonly (dotnet/coreclr#19559)
Ben Adams [Mon, 20 Aug 2018 16:30:37 +0000 (17:30 +0100)]
Mark some readonly fields readonly (dotnet/coreclr#19559)

Commit migrated from https://github.com/dotnet/coreclr/commit/1f1d43abf34ba27e86ff4150d6970e7d1fda98d0

6 years agoOptimize number formatting (dotnet/coreclr#19551)
Pent Ploompuu [Mon, 20 Aug 2018 16:29:55 +0000 (19:29 +0300)]
Optimize number formatting (dotnet/coreclr#19551)

Commit migrated from https://github.com/dotnet/coreclr/commit/046b5ee39123d0b70319d876146dfde97912088a

6 years agoMark more structs as readonly (dotnet/coreclr#19557)
Ben Adams [Mon, 20 Aug 2018 16:25:47 +0000 (17:25 +0100)]
Mark more structs as readonly (dotnet/coreclr#19557)

Commit migrated from https://github.com/dotnet/coreclr/commit/ac09773ad09f374053ae1cb11336b96d01da49a1

6 years agoMake DateTimeOffset a readonly struct (dotnet/coreclr#19552)
Ben Adams [Mon, 20 Aug 2018 16:22:20 +0000 (17:22 +0100)]
Make DateTimeOffset a readonly struct (dotnet/coreclr#19552)

Commit migrated from https://github.com/dotnet/coreclr/commit/9499b08eefd895158c3f3c7834e185a73619128d

6 years ago Free the alternate signal stack if this PAL's thread allocated it. (dotnet/coreclr...
Mike McLaughlin [Sun, 19 Aug 2018 23:04:02 +0000 (16:04 -0700)]
 Free the alternate signal stack if this PAL's thread allocated it. (dotnet/coreclr#19539)

Free the alternate signal stack if this PAL's thread allocated it.

Move Ensure/FreeSignalAlternateStack to CPalThread class.

Frees the alternate stack a little sooner during thread termination.

Commit migrated from https://github.com/dotnet/coreclr/commit/b2031a14a3b110f8e712abdb0cd392c54cd2e839

6 years agoFix test case comment to reflect the actual test (dotnet/coreclr#19531)
Andy Ayers [Sun, 19 Aug 2018 02:23:41 +0000 (19:23 -0700)]
Fix test case comment to reflect the actual test (dotnet/coreclr#19531)

Commit migrated from https://github.com/dotnet/coreclr/commit/ff56d33f624bee91354ebe09ab83bbc79b587536

6 years agoEnable Microsoft.VisualBasic.dll in crossgen_comparison scenario
Egor Chesakov [Fri, 17 Aug 2018 18:40:05 +0000 (11:40 -0700)]
Enable Microsoft.VisualBasic.dll in crossgen_comparison scenario

Commit migrated from https://github.com/dotnet/coreclr/commit/01ec10ffed3cdfa417eedaa4e3437ed6aa708074

6 years agoReturn "default" target-specific NaN value during constant folding of arithmetic...
Egor Chesakov [Thu, 9 Aug 2018 00:57:26 +0000 (17:57 -0700)]
Return "default" target-specific NaN value during constant folding of arithmetic expressions on ARM32 and ARM64

Commit migrated from https://github.com/dotnet/coreclr/commit/3477e6af5bf735c7bef12791dcad323f7e1600ff

6 years agoFix wrong sprinf_s format string in gtGetArgMsg getGetLateArgMsg on ARM32 (dotnet...
Egor Chesakov [Sun, 19 Aug 2018 01:03:06 +0000 (18:03 -0700)]
Fix wrong sprinf_s format string in gtGetArgMsg getGetLateArgMsg on ARM32 (dotnet/coreclr#19536)

Commit migrated from https://github.com/dotnet/coreclr/commit/7b6d24ede2810d29338b6097bf04aa67471f637d

6 years agoExclude some assemblies from CrossGen Comparison job (dotnet/coreclr#19534)
Egor Chesakov [Sat, 18 Aug 2018 21:38:14 +0000 (14:38 -0700)]
Exclude some assemblies from CrossGen Comparison job (dotnet/coreclr#19534)

* System.Runtime.Intrinsics.Experimental.dll
* Xunit assemblies

Commit migrated from https://github.com/dotnet/coreclr/commit/e27ddb1707d5733de018343bd7aed8525762c328

6 years agoInitial support for R2R image diff (dotnet/coreclr#19533)
Tomáš Rylek [Fri, 17 Aug 2018 23:41:22 +0000 (01:41 +0200)]
Initial support for R2R image diff (dotnet/coreclr#19533)

* Initial support for R2R image diff

In this first cut I'm adding just three size diff statistics -
PE section size diff, R2R section size diff and method size diffs.
I assume we'll add more statistics as needed in the course of various
size investigations.

Thanks

Tomas

Commit migrated from https://github.com/dotnet/coreclr/commit/f43572eab2b9b560923435756aee09cb911f3296

6 years agoRemove tests previously ported to CoreFX repo (dotnet/coreclr#19527)
Aaron Robinson [Fri, 17 Aug 2018 18:09:31 +0000 (11:09 -0700)]
Remove tests previously ported to CoreFX repo (dotnet/coreclr#19527)

* Remove tests previously ported to CoreFX repo

* Remove references to ported Marshal API tests

Commit migrated from https://github.com/dotnet/coreclr/commit/ff9b943a050e515a8e4e0a9e152738279abdc35b

6 years agoMerge pull request dotnet/coreclr#19530 from BruceForstall/DisableArmUbuntuCorefxLogging
Bruce Forstall [Fri, 17 Aug 2018 17:47:38 +0000 (10:47 -0700)]
Merge pull request dotnet/coreclr#19530 from BruceForstall/DisableArmUbuntuCorefxLogging

Disable Ubuntu arm32 corefx xunit test result parsing

Commit migrated from https://github.com/dotnet/coreclr/commit/0fc981abe7b9ca6898f157bc247edad265d4088b

6 years agoMerge pull request dotnet/coreclr#19378 from sergign60/unwind_fix
Bruce Forstall [Fri, 17 Aug 2018 17:32:16 +0000 (10:32 -0700)]
Merge pull request dotnet/coreclr#19378 from sergign60/unwind_fix

[CoreRT armel]Fix for unwinding support for ARM dotnet/coreclr#5874

Commit migrated from https://github.com/dotnet/coreclr/commit/147e114fce7c70d1a566a8b1d5ffcfab36e0a09e

6 years agoDisable Ubuntu arm32 corefx xunit test result parsing
Bruce Forstall [Fri, 17 Aug 2018 17:24:48 +0000 (10:24 -0700)]
Disable Ubuntu arm32 corefx xunit test result parsing

We have a problem with the xunit plug-in, where it is consistently
failing on Ubuntu arm32 test result uploading with this error:

```
The plugin hasn't been performed correctly
```

We haven't been able to identify the reason. So, do not add xunit parsing of the test data in this scenario.
This is tracked by: https://github.com/dotnet/coreclr/issues/19447.

Commit migrated from https://github.com/dotnet/coreclr/commit/da65d2f15084c45b8a352ebe901de9cbdba7add0

6 years agoMerge pull request dotnet/coreclr#19512 from dotnet-maestro-bot/master-UpdateDependencies
William Godbe [Fri, 17 Aug 2018 17:14:02 +0000 (10:14 -0700)]
Merge pull request dotnet/coreclr#19512 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03116-01, preview1-26817-05, preview1-26817-04, preview1-26817-01, master-20180817-0151, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/1c4cc31f9bb5cafd31b1798e7da2984079c24aac

6 years agoEnable Tiered Compilation by default (dotnet/coreclr#19525)
Koundinya Veluri [Fri, 17 Aug 2018 15:31:44 +0000 (08:31 -0700)]
Enable Tiered Compilation by default (dotnet/coreclr#19525)

Enable Tiered Compilation by default

1) Changes the default state of the tiered compilation feature check to be ON BY DEFAULT
2) Removed comments about the source about this being a work in progress. Although it will surely continue to evolve and improve, remaining issues would be better tracked in our issue tracking system with the same default presumption as other runtime features - assume it works unless noted otherwise.
3) Adjusts a number of tests and automated scripts that made assumptions that the default setting of this feature is off.
4) Stop accepting the deprecated env var COMPLUS_EXPERIMENTAL_TieredCompilation. I'm not aware it has any remaining usage but if so we're going to find out.
5) Adjust config names for JitBench

Commit migrated from https://github.com/dotnet/coreclr/commit/f6174b93d100d46f4641f040b6de5fa254c1ee71

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03116-01, preview1...
dotnet-maestro-bot [Fri, 17 Aug 2018 13:47:35 +0000 (06:47 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03116-01, preview1-26817-05, preview1-26817-04, preview1-26817-01, master-20180817-0151, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/f25bfa2594c3dcb5cb4d4c1438bda84cb3749034

6 years agoMerge pull request dotnet/coreclr#19514 from dotnet/dev/unix_test_workflow
Egor Chesakov [Fri, 17 Aug 2018 04:56:41 +0000 (21:56 -0700)]
Merge pull request dotnet/coreclr#19514 from dotnet/dev/unix_test_workflow

 Introduce CrossGen Comparison scenario

Commit migrated from https://github.com/dotnet/coreclr/commit/a81d9103d23f714a0bd3efb900321b0b9f383311

6 years agoAdd CrossGen Comparison scenario to netci.groovy
Egor Chesakov [Thu, 9 Aug 2018 23:36:17 +0000 (16:36 -0700)]
Add CrossGen Comparison scenario to netci.groovy

Commit migrated from https://github.com/dotnet/coreclr/commit/609537f2e1a82c8e8b5a415eee9de930e8375ec2

6 years agoAdd tests/scripts/crossgen_comparison.py
Egor Chesakov [Thu, 9 Aug 2018 23:37:39 +0000 (16:37 -0700)]
Add tests/scripts/crossgen_comparison.py

Commit migrated from https://github.com/dotnet/coreclr/commit/41f8828e745f8039ab10e522c5a79d60c9c7c98d

6 years agoRemove coreclr.*txt upload (dotnet/coreclr#19524)
Jarret Shook [Fri, 17 Aug 2018 01:16:59 +0000 (18:16 -0700)]
Remove coreclr.*txt upload (dotnet/coreclr#19524)

Commit migrated from https://github.com/dotnet/coreclr/commit/04dbdb30e5a7bbddb69944081e2755fd575437d0

6 years agoR2RDump - Documentation (dotnet/coreclr#19497)
Amy [Fri, 17 Aug 2018 00:05:23 +0000 (17:05 -0700)]
R2RDump - Documentation (dotnet/coreclr#19497)

* Add comments

* Add README

* Use href links, disable disasm

Commit migrated from https://github.com/dotnet/coreclr/commit/07330cad0eb3f2583283feb34ccf8c5ca3dfde39

6 years agoMoved registry.cs to shared (dotnet/coreclr#19471)
Anirudh Agnihotry [Thu, 16 Aug 2018 20:21:55 +0000 (13:21 -0700)]
Moved registry.cs to shared (dotnet/coreclr#19471)

* moved registry to shared

* using corefx version

* set value added

Commit migrated from https://github.com/dotnet/coreclr/commit/4e89ab7c4011e927e2ff552435df56a77880d70f

6 years agoDetermine memory load based on cgroup usage. (dotnet/coreclr#19518)
Tom Deseyn [Thu, 16 Aug 2018 18:47:20 +0000 (20:47 +0200)]
Determine memory load based on cgroup usage. (dotnet/coreclr#19518)

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.

Commit migrated from https://github.com/dotnet/coreclr/commit/ca5b0d1caa47abdebac13233553c6e44db2e3168

6 years agoAdd an empty console application to measure startup of the runtime. (dotnet/coreclr...
José Rivero [Thu, 16 Aug 2018 18:25:31 +0000 (11:25 -0700)]
Add an empty console application to measure startup of the runtime. (dotnet/coreclr#19490)

Commit migrated from https://github.com/dotnet/coreclr/commit/6a2ce4748f043d8c0dc9e4d30d415cffbef1958f

6 years agoDisable a regex test that is failing with minopts (dotnet/coreclr#19488)
Koundinya Veluri [Thu, 16 Aug 2018 18:23:47 +0000 (11:23 -0700)]
Disable a regex test that is failing with minopts (dotnet/coreclr#19488)

See dotnet/coreclrdotnet/coreclr#18912. This test would always fail once tiered compilation is enabled by default in CoreFX test runs in the CoreCLR repo.

Commit migrated from https://github.com/dotnet/coreclr/commit/fc449435e56ec439fb28b5426a5fbea645bb9d0c

6 years agoBuild-test.sh handles native test assets (dotnet/coreclr#19430)
Aaron Robinson [Thu, 16 Aug 2018 18:21:51 +0000 (11:21 -0700)]
Build-test.sh handles native test assets (dotnet/coreclr#19430)

* 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

Commit migrated from https://github.com/dotnet/coreclr/commit/f0f42d4c0fc3cfd782b89171840e2590604392cd

6 years agoSome JitBench fixes (dotnet/coreclr#19479)
Koundinya Veluri [Thu, 16 Aug 2018 18:20:55 +0000 (11:20 -0700)]
Some JitBench fixes (dotnet/coreclr#19479)

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

Commit migrated from https://github.com/dotnet/coreclr/commit/72e9b8d589f114776e3f42058d721058b77133b9

6 years agoJIT: bail out in optExtractArrIndex for constant array length (dotnet/coreclr#19493)
Andy Ayers [Thu, 16 Aug 2018 16:22:05 +0000 (09:22 -0700)]
JIT: bail out in optExtractArrIndex for constant array length (dotnet/coreclr#19493)

Generalize the bail out pattern to handle cases from spans where we may
see a known array length in a bounds check.

Fixes dotnet/coreclr#19454

Commit migrated from https://github.com/dotnet/coreclr/commit/a52128e8f59f7f824862ff4ecde0d8d9ae1631ef

6 years agoOptimize NumberBufferToDecimal (dotnet/coreclr#19072)
Pent Ploompuu [Thu, 16 Aug 2018 15:40:59 +0000 (18:40 +0300)]
Optimize NumberBufferToDecimal (dotnet/coreclr#19072)

Commit migrated from https://github.com/dotnet/coreclr/commit/2f5e5d912751b1cec481ec3b3c35cb8c7a4adf0a

6 years agoMerge pull request dotnet/coreclr#19396 from CarolEidt/Fix19288
Carol Eidt [Thu, 16 Aug 2018 15:11:00 +0000 (08:11 -0700)]
Merge pull request dotnet/coreclr#19396 from CarolEidt/Fix19288

Fix non-lclVar odd-byte struct passing

Commit migrated from https://github.com/dotnet/coreclr/commit/da7cf5626753baeef42e7bd2d95f2dfe1c894553

6 years ago[CoreRT armel]Fix for unwinding support for ARM is not fully implemented dotnet/corec...
Sergey Ignatov [Thu, 9 Aug 2018 08:52:10 +0000 (11:52 +0300)]
[CoreRT armel]Fix for unwinding support for ARM is not fully implemented dotnet/coreclr#5874

Commit migrated from https://github.com/dotnet/coreclr/commit/f4eaea5265b90bdf782bbd62d1cbc246f62a7a75

6 years agoMake file handle checks accurate on Windows (dotnet/coreclr#19508)
Jeremy Kuhne [Thu, 16 Aug 2018 04:16:43 +0000 (21:16 -0700)]
Make file handle checks accurate on Windows (dotnet/coreclr#19508)

* 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.

Commit migrated from https://github.com/dotnet/coreclr/commit/3da101be85ee07b9b625f03b7570a03a5cd028cc

6 years agoRevert "Temporarily flag a SIMD test as optimization-sensitive (dotnet/coreclr#19163...
Koundinya Veluri [Thu, 16 Aug 2018 02:43:15 +0000 (19:43 -0700)]
Revert "Temporarily flag a SIMD test as optimization-sensitive (dotnet/coreclr#19163)" (dotnet/coreclr#19505)

This reverts commit dotnet/coreclr@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.

Commit migrated from https://github.com/dotnet/coreclr/commit/0c64cede37e206829af24237de037e3c14f7b3cc

6 years agoUpdate JapaneseLunisolarCalendar.cs (dotnet/coreclr#19504)
elyoh [Thu, 16 Aug 2018 01:03:50 +0000 (02:03 +0100)]
Update JapaneseLunisolarCalendar.cs (dotnet/coreclr#19504)

Corrects an issue with the conversion table for Gregorian to Japanese lunisolar dates.
See: dotnet/coreclr#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.

Commit migrated from https://github.com/dotnet/coreclr/commit/c258c092b125aa607b669649ddd0e2c0107ccf06

6 years agoJIT: properly handle special-case varargs params in minopts (dotnet/coreclr#19489)
Andy Ayers [Thu, 16 Aug 2018 00:05:28 +0000 (17:05 -0700)]
JIT: properly handle special-case varargs params in minopts (dotnet/coreclr#19489)

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 dotnet/coreclr#19349.

Commit migrated from https://github.com/dotnet/coreclr/commit/81c0e509c0e948385268e209db0696f2bbddd575

6 years agoRevert "Change CoreLib native image to be R2R by default on all platforms (dotnet...
Jan Kotas [Wed, 15 Aug 2018 22:55:24 +0000 (15:55 -0700)]
Revert "Change CoreLib native image to be R2R by default on all platforms (dotnet/coreclr#19359)" (dotnet/coreclr#19501)

This reverts commit dotnet/coreclr@d485659348af3528b688ac5b7e4c58dacba6de58.

Commit migrated from https://github.com/dotnet/coreclr/commit/a8e22205c4d9c8660449f66fabe7a1e46c681023

6 years agoAdd Public API Marshal.IsTypeVisibleFromCom and Marshal.GetEndComSlot (dotnet/coreclr...
Luqun Lou [Wed, 15 Aug 2018 22:52:28 +0000 (15:52 -0700)]
Add Public API Marshal.IsTypeVisibleFromCom and Marshal.GetEndComSlot (dotnet/coreclr#19507)

Commit migrated from https://github.com/dotnet/coreclr/commit/81455f6fe9e078902f1fb331ae81d85c4d001c5f

6 years agoR2RDump - GcInfo for x86
Amy Yu [Wed, 8 Aug 2018 23:52:53 +0000 (16:52 -0700)]
R2RDump - GcInfo for x86

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

Commit migrated from https://github.com/dotnet/coreclr/commit/26286b460e53d03ec8b74b85f09c0754bb10605f

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03115-01, preview1...
dotnet-maestro-bot [Wed, 15 Aug 2018 19:30:35 +0000 (12:30 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03115-01, preview1-26815-04, preview1-26815-04, preview1-26815-01, master-20180815-0120, respectively (dotnet/coreclr#19494)

Commit migrated from https://github.com/dotnet/coreclr/commit/024f809869d156f73ea6d7527d9664ce90b5505e

6 years agoMerge pull request dotnet/coreclr#19487 from acmyu/disable
Bruce Forstall [Wed, 15 Aug 2018 03:56:16 +0000 (20:56 -0700)]
Merge pull request dotnet/coreclr#19487 from acmyu/disable

ExcludeList for R2RDumpTests in wrong ItemGroup

Commit migrated from https://github.com/dotnet/coreclr/commit/3b6210ecb565847dc5e6b5bb01a97e9b09f56a15

6 years agoAdd TypeConverter fallback to DefaultValueAttribute (dotnet/coreclr#19354)
Marco Rossignoli [Wed, 15 Aug 2018 01:56:43 +0000 (03:56 +0200)]
Add TypeConverter fallback to DefaultValueAttribute (dotnet/coreclr#19354)

Commit migrated from https://github.com/dotnet/coreclr/commit/431d041b7697a7ce307caa6090fab01ffd7ae652

6 years agoUpdate debugging and createdump docs. (dotnet/coreclr#19495)
Mike McLaughlin [Wed, 15 Aug 2018 01:22:23 +0000 (18:22 -0700)]
Update debugging and createdump docs. (dotnet/coreclr#19495)

Commit migrated from https://github.com/dotnet/coreclr/commit/21f94f2be12e16bb36187d40c2fa82af9ebfd469

6 years agoExcludeList for R2RDumpTests in wrong ItemGroup
Amy Yu [Tue, 14 Aug 2018 20:19:46 +0000 (13:19 -0700)]
ExcludeList for R2RDumpTests in wrong ItemGroup

Commit migrated from https://github.com/dotnet/coreclr/commit/99efd808657686aed0d1f3ecab393678ede6a5f9

6 years agoUpdate BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03110-01, preview1...
dotnet-maestro-bot [Tue, 14 Aug 2018 15:08:16 +0000 (08:08 -0700)]
Update BuildTools, CoreClr, CoreFx, CoreSetup, PgoData to preview1-03110-01, preview1-26814-06, preview1-26814-01, preview1-26814-01, master-20180814-0056, respectively (dotnet/coreclr#19377)

Commit migrated from https://github.com/dotnet/coreclr/commit/1e20a920fb2caffbee7fba96c295f3a8185700be

6 years agoDisable R2RDumpTests (dotnet/coreclr#19475)
Amy [Tue, 14 Aug 2018 14:02:49 +0000 (07:02 -0700)]
Disable R2RDumpTests (dotnet/coreclr#19475)

Commit migrated from https://github.com/dotnet/coreclr/commit/c1c2db2f50bf34e7d0aebab9f9b5969bfd9f46fc

6 years agoDelete dead code (dotnet/coreclr#19452)
Jan Kotas [Tue, 14 Aug 2018 13:34:34 +0000 (06:34 -0700)]
Delete dead code (dotnet/coreclr#19452)

Unused strong name signing paths and related code

Commit migrated from https://github.com/dotnet/coreclr/commit/0b5e0648bdaa1abacea803b90384f9b937af9fc3

6 years agoTranslate [rip +- offset] to absolute RVA's in R2RDump (dotnet/coreclr#19219)
Tomáš Rylek [Tue, 14 Aug 2018 10:37:19 +0000 (12:37 +0200)]
Translate [rip +- offset] to absolute RVA's in R2RDump (dotnet/coreclr#19219)

* 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

Commit migrated from https://github.com/dotnet/coreclr/commit/66b3197f69cf4669ba04a7a8121d33d9aa5d3c9d

6 years agoCode review feedback for the alternate stack changes (PR dotnet/coreclr#19309). ...
Mike McLaughlin [Tue, 14 Aug 2018 07:46:13 +0000 (00:46 -0700)]
Code review feedback for the alternate stack changes (PR dotnet/coreclr#19309). (dotnet/coreclr#19476)

Fixed SOS plugin for core dumps.

Commit migrated from https://github.com/dotnet/coreclr/commit/c509903171fedf0a4a6f9fffeb6e2b9820f537c2

6 years agoUpdate URLs and exclusion list for staging (dotnet/coreclr#19423)
Andon Andonov [Tue, 14 Aug 2018 03:43:10 +0000 (20:43 -0700)]
Update URLs and exclusion list for staging (dotnet/coreclr#19423)

* 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

Commit migrated from https://github.com/dotnet/coreclr/commit/821016dc0d94c08a40701f75a09a3d355c515579

6 years agoMerge pull request dotnet/coreclr#19463 from BruceForstall/FixArmHeapVerify
Bruce Forstall [Mon, 13 Aug 2018 23:53:22 +0000 (16:53 -0700)]
Merge pull request dotnet/coreclr#19463 from BruceForstall/FixArmHeapVerify

Disable 3 tests for Windows/arm32 HeapVerify runs

Commit migrated from https://github.com/dotnet/coreclr/commit/21af8273edb1991972dc2223f3de93f249aa4d48

6 years agodisable tests\src\JIT\Methodical\fp\exgen\10w5d_cs_do (dotnet/coreclr#19465)
Sergey Andreenko [Mon, 13 Aug 2018 23:16:50 +0000 (16:16 -0700)]
disable tests\src\JIT\Methodical\fp\exgen\10w5d_cs_do (dotnet/coreclr#19465)

in stress modes. The issue is dotnet/coreclr#18988

Commit migrated from https://github.com/dotnet/coreclr/commit/b0686a29be2eff059f080a66b7aa4febe55a01bc

6 years agoMerge pull request dotnet/coreclr#19469 from BruceForstall/DisableVectorDot
Bruce Forstall [Mon, 13 Aug 2018 22:21:23 +0000 (15:21 -0700)]
Merge pull request dotnet/coreclr#19469 from BruceForstall/DisableVectorDot

Disable VectorDot_ro.cmd_9267 for Windows arm64 R2R

Commit migrated from https://github.com/dotnet/coreclr/commit/bf72f70f0e00987470f36bfde89c209c5147fac0

6 years agoDisable VectorDot_ro.cmd_9267 for Windows arm64 R2R
Bruce Forstall [Mon, 13 Aug 2018 22:19:49 +0000 (15:19 -0700)]
Disable VectorDot_ro.cmd_9267 for Windows arm64 R2R

Tracked by dotnet/coreclr#18991

Commit migrated from https://github.com/dotnet/coreclr/commit/69f9cdb518cf6949f9a58baa2ccb9b70566f431c

6 years agoMerge pull request dotnet/coreclr#19466 from BruceForstall/Disable163200
Bruce Forstall [Mon, 13 Aug 2018 22:04:49 +0000 (15:04 -0700)]
Merge pull request dotnet/coreclr#19466 from BruceForstall/Disable163200

Disable test b163200 under GCStress

Commit migrated from https://github.com/dotnet/coreclr/commit/428185baa83bc1a396e862325d5d5eccb096c3b2

6 years agoDisable test b163200 under GCStress
Bruce Forstall [Mon, 13 Aug 2018 22:03:23 +0000 (15:03 -0700)]
Disable test b163200 under GCStress

Tracked by dotnet/coreclr#19464

Commit migrated from https://github.com/dotnet/coreclr/commit/359e8639ff1cdc9b90a2c85b49f6e5e0233c2f92

6 years agoDisable 3 tests for Windows/arm32 HeapVerify runs
Bruce Forstall [Mon, 13 Aug 2018 21:06:29 +0000 (14:06 -0700)]
Disable 3 tests for Windows/arm32 HeapVerify runs

They all time out.

Fixes dotnet/coreclr#19462

Commit migrated from https://github.com/dotnet/coreclr/commit/ebe90ae3c9ccd874c4512b9bc3b3c1b025ca2d21

6 years agoMerge pull request dotnet/coreclr#19459 from BruceForstall/Disable437044
Bruce Forstall [Mon, 13 Aug 2018 19:42:25 +0000 (12:42 -0700)]
Merge pull request dotnet/coreclr#19459 from BruceForstall/Disable437044

Exclude 437044.cmd_10304 from GCStress runs

Commit migrated from https://github.com/dotnet/coreclr/commit/fa4c1c47f9b49e5ee7b320038bb30dfa736bc450

6 years agoExclude 437044.cmd_10304 from GCStress runs
Bruce Forstall [Mon, 13 Aug 2018 19:40:23 +0000 (12:40 -0700)]
Exclude 437044.cmd_10304 from GCStress runs

This test times out on ARM Windows R2R GCStress15 runs.

Commit migrated from https://github.com/dotnet/coreclr/commit/1c3772b699ab37a07d1be7dd770f693f60b277d8

6 years agoAdd a skipmanaged option to build.sh (dotnet/coreclr#19111)
Omair Majid [Mon, 13 Aug 2018 19:38:37 +0000 (15:38 -0400)]
Add a skipmanaged option to build.sh (dotnet/coreclr#19111)

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.

Commit migrated from https://github.com/dotnet/coreclr/commit/cba21515787850baaf02fbbd550a5267a8a4f4cf

6 years agoMerge pull request dotnet/coreclr#19458 from BruceForstall/DisableTests
Bruce Forstall [Mon, 13 Aug 2018 19:12:23 +0000 (12:12 -0700)]
Merge pull request dotnet/coreclr#19458 from BruceForstall/DisableTests

Disable System.Linq.Expressions.Tests against dotnet/coreclr#19457

Commit migrated from https://github.com/dotnet/coreclr/commit/1a5e7515ac7d128518b7ec8ce34f632f5b368e66

6 years agoDisable System.Linq.Expressions.Tests against dotnet/coreclr#19457
Bruce Forstall [Mon, 13 Aug 2018 19:10:50 +0000 (12:10 -0700)]
Disable System.Linq.Expressions.Tests against dotnet/coreclr#19457

Commit migrated from https://github.com/dotnet/coreclr/commit/5dfbf227c3c4723d9f9bf5064f1a6c41f9c1996e

6 years agoRemove unused local from List<T>.RemoveRange (dotnet/corefxdotnet/coreclr#31727)
Robin Sue [Mon, 13 Aug 2018 02:49:39 +0000 (04:49 +0200)]
Remove unused local from List<T>.RemoveRange (dotnet/corefxdotnet/coreclr#31727)

`int i` appears to be unused so i removed it.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/1f02c30e053b1da4410e20c3b715128e3d1e354a

6 years agonon shared changes and feedback addressed
Anipik [Sun, 12 Aug 2018 22:42:34 +0000 (15:42 -0700)]
non shared changes and feedback addressed

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/35dafea02d196d5acb998c8a4fff3e6a37365db8

6 years agoFix a couple of apartment state issues (dotnet/coreclr#19384)
Koundinya Veluri [Mon, 13 Aug 2018 01:35:48 +0000 (18:35 -0700)]
Fix a couple of apartment state issues (dotnet/coreclr#19384)

* 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

Commit migrated from https://github.com/dotnet/coreclr/commit/3a56afe6de4113c83b66a5d3a467b8accfaafa1f

6 years agoCreate Microsoft.IO.Redist (dotnet/corefxdotnet/coreclr#31679)
Jeremy Kuhne [Sat, 11 Aug 2018 00:06:39 +0000 (17:06 -0700)]
Create Microsoft.IO.Redist (dotnet/corefxdotnet/coreclr#31679)

* 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>
Commit migrated from https://github.com/dotnet/coreclr/commit/4ccd7a52827a9078b35e167bea488b3389538e92

6 years agoSilence WinRT type assert in crossgen (dotnet/coreclr#19442)
Simon Nattress [Mon, 13 Aug 2018 00:09:55 +0000 (17:09 -0700)]
Silence WinRT type assert in crossgen (dotnet/coreclr#19442)

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.

Commit migrated from https://github.com/dotnet/coreclr/commit/8589689bc34eb7fab6b33c88505bb041de9e9995

6 years ago[local gc] disable feature redhawk (dotnet/coreclr#17769)
David Mason [Sat, 11 Aug 2018 17:11:49 +0000 (10:11 -0700)]
[local gc] disable feature redhawk  (dotnet/coreclr#17769)

Commit migrated from https://github.com/dotnet/coreclr/commit/d4738d1e9e9b50d00023eb4caca225812cabe285

6 years agoMake RuntimeType sealed and deleted support for introspection only loads (dotnet...
Jan Kotas [Sat, 11 Aug 2018 14:43:16 +0000 (07:43 -0700)]
Make RuntimeType sealed and deleted support for introspection only loads (dotnet/coreclr#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.

Commit migrated from https://github.com/dotnet/coreclr/commit/af4ec7c89d0192ad14392da04e8c097da8ec9e48

6 years agomoved to shared (dotnet/coreclr#19419)
Anirudh Agnihotry [Sat, 11 Aug 2018 07:31:01 +0000 (00:31 -0700)]
moved to shared (dotnet/coreclr#19419)

Commit migrated from https://github.com/dotnet/coreclr/commit/f551543427176850c84b9e11c7b8d528c3f282a7

6 years agoMoved SpinLock.cs to shared (dotnet/coreclr#19391)
Anirudh Agnihotry [Sat, 11 Aug 2018 06:19:28 +0000 (23:19 -0700)]
Moved SpinLock.cs to shared (dotnet/coreclr#19391)

* m removed from names, spaces after \\ and braces added

* Moved to shared

Commit migrated from https://github.com/dotnet/coreclr/commit/b2c4c8c4713a029b8c59f481c967dec3c98f005a

6 years agoDon't early terminate on null for 64bit NR HashCode (dotnet/coreclr#19331)
Ben Adams [Sat, 11 Aug 2018 05:44:19 +0000 (06:44 +0100)]
Don't early terminate on null for 64bit NR HashCode (dotnet/coreclr#19331)

* 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

Commit migrated from https://github.com/dotnet/coreclr/commit/c9ad0e8656df10f3aab4b989a1dc72e548d24176

6 years agoMerge pull request dotnet/coreclr#19434 from BruceForstall/DisableR2rDumpTest2
Bruce Forstall [Sat, 11 Aug 2018 03:00:44 +0000 (20:00 -0700)]
Merge pull request dotnet/coreclr#19434 from BruceForstall/DisableR2rDumpTest2

Disable R2RDumpTest for JIT stress modes

Commit migrated from https://github.com/dotnet/coreclr/commit/2c9d4e3be809f11750c6bd1a7c68837f1f3bf343

6 years agoDisable R2RDumpTest for JIT stress modes
Bruce Forstall [Sat, 11 Aug 2018 00:41:17 +0000 (17:41 -0700)]
Disable R2RDumpTest for JIT stress modes

Commit migrated from https://github.com/dotnet/coreclr/commit/0ae96a6054de5334c74c68fb233fc50f21d55d19

6 years agoMerge pull request dotnet/coreclr#19433 from BruceForstall/UpdateTriggerPhrases
Bruce Forstall [Sat, 11 Aug 2018 00:32:02 +0000 (17:32 -0700)]
Merge pull request dotnet/coreclr#19433 from BruceForstall/UpdateTriggerPhrases

Update existing trigger phrases documentation

Commit migrated from https://github.com/dotnet/coreclr/commit/965cfb4557fd3ee80b3145507c075a5ed6eb380b