platform/upstream/dotnet/runtime.git
7 years agoMerge pull request dotnet/coreclr#9853 from hqueue/arm/ci_legs
Gaurav Khanna [Tue, 14 Mar 2017 04:56:31 +0000 (21:56 -0700)]
Merge pull request dotnet/coreclr#9853 from hqueue/arm/ci_legs

[ARM/CI] Add manual triggering CI for arm and armel

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

7 years agoOptimize Span.Clear() on AMD64 (dotnet/coreclr#10110)
Xiangyang (Mark) Guo [Tue, 14 Mar 2017 03:23:32 +0000 (20:23 -0700)]
Optimize Span.Clear() on AMD64 (dotnet/coreclr#10110)

* optimize Span.Clear() by using initblk

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

7 years agoMerge pull request dotnet/coreclr#10155 from BruceForstall/CallMorphDoc
Bruce Forstall [Tue, 14 Mar 2017 02:06:40 +0000 (19:06 -0700)]
Merge pull request dotnet/coreclr#10155 from BruceForstall/CallMorphDoc

Add documentation on RyuJIT call morphing

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

7 years agoMerge pull request dotnet/coreclr#10153 from adityamandaleeka/remove_stress_thread
Aditya Mandaleeka [Tue, 14 Mar 2017 01:53:34 +0000 (18:53 -0700)]
Merge pull request dotnet/coreclr#10153 from adityamandaleeka/remove_stress_thread

Remove STRESS_THREAD

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

7 years agoMerge pull request dotnet/coreclr#10073 from adityamandaleeka/handle_types_to_enum_1
Aditya Mandaleeka [Tue, 14 Mar 2017 01:42:57 +0000 (18:42 -0700)]
Merge pull request dotnet/coreclr#10073 from adityamandaleeka/handle_types_to_enum_1

Replace HNDTYPE defines with enum

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

7 years agoAdd documentation on RyuJIT call morphing
Bruce Forstall [Tue, 14 Mar 2017 01:33:43 +0000 (18:33 -0700)]
Add documentation on RyuJIT call morphing

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

7 years agoImprove LIR dumping (dotnet/coreclr#10140)
Bruce Forstall [Tue, 14 Mar 2017 01:33:06 +0000 (18:33 -0700)]
Improve LIR dumping (dotnet/coreclr#10140)

1. Use the LIR node dumper to display nodes to be generated by
codegen, since we're in LIR form at that point. Add a new
"prefix message" argument to allow "Generating: " to prefix all
such lines.
2. Fix off-by-one error in LIR dump due to `#ifdef` versus `#if`.
3. Remove extra trailing line for each LIR node. This interfered
with dotnet/coreclr#1. But I always thought it was unnecessarily verbose; I don't
believe there is any ambiguity without that extra space.
4. Add dTreeLIR()/cTreeLIR() functions for use in the debugger.

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

7 years agoMerge pull request dotnet/coreclr#10074 from wtgodbe/ProjectJson
William Godbe [Tue, 14 Mar 2017 01:26:46 +0000 (18:26 -0700)]
Merge pull request dotnet/coreclr#10074 from wtgodbe/ProjectJson

Pick up new CoreFX packages and abandon old ones

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

7 years agoSystem.Diagnostics.Debugger.Break() should NOT be inlined. (dotnet/coreclr#10151)
Mike McLaughlin [Tue, 14 Mar 2017 01:17:43 +0000 (18:17 -0700)]
System.Diagnostics.Debugger.Break() should NOT be inlined. (dotnet/coreclr#10151)

Breaks debugger tests.

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

7 years agoAdd changes to emitMaxStackDepth and fgPtrArgCntMax to JitDump (dotnet/coreclr#10130)
Bruce Forstall [Tue, 14 Mar 2017 00:42:39 +0000 (17:42 -0700)]
Add changes to emitMaxStackDepth and fgPtrArgCntMax to JitDump (dotnet/coreclr#10130)

It is useful to see when these are changing.

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

7 years agoConvert GenTree* to GenTreeCall* as much as possible (dotnet/coreclr#10132)
Bruce Forstall [Tue, 14 Mar 2017 00:42:08 +0000 (17:42 -0700)]
Convert GenTree* to GenTreeCall* as much as possible (dotnet/coreclr#10132)

This simplifies reading the code, and improves the debugging experience.

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

7 years agoMerge pull request dotnet/coreclr#10113 from briansull/ibc-readytorun
Brian Sullivan [Tue, 14 Mar 2017 00:22:00 +0000 (17:22 -0700)]
Merge pull request dotnet/coreclr#10113 from briansull/ibc-readytorun

Support for IBC profiling for ReadyToRun images

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

7 years agoReplace HNDTYPE defines with enum in gcinterface header.
Aditya Mandaleeka [Thu, 9 Mar 2017 02:40:12 +0000 (18:40 -0800)]
Replace HNDTYPE defines with enum in gcinterface header.

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

7 years agoRemove STRESS_THREAD.
Aditya Mandaleeka [Mon, 13 Mar 2017 23:17:24 +0000 (16:17 -0700)]
Remove STRESS_THREAD.

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

7 years agoBuild Linux altjit for x86 and amd64 (dotnet/coreclr#10120)
Bruce Forstall [Mon, 13 Mar 2017 23:32:15 +0000 (16:32 -0700)]
Build Linux altjit for x86 and amd64 (dotnet/coreclr#10120)

Enable Windows hosted, Linux target amd64 altjit

With this change, we build a JIT that runs on Windows amd64
and targets Linux amd64, as an altjit named linuxnonjit.dll.
This is useful for debugging, or generating asm code or diffs.
You can even easily create Windows/non-Windows asm diffs
(either to compare the asm, or compare the generated code size).

For this to work, the JIT-EE interface method
getSystemVAmd64PassStructInRegisterDescriptor() was changed
to always be built in, by defining `FEATURE_UNIX_AMD64_STRUCT_PASSING_ITF`
in all AMD64 builds. The `_ITF` suffix indicates that this is
functionality specific to implementing the JIT-EE interface
contract. There were many places in the VM that used this
interchangeably with `FEATURE_UNIX_AMD64_STRUCT_PASSING`. Now,
`FEATURE_UNIX_AMD64_STRUCT_PASSING` means code in the VM needed
to implement this feature, but not required to implement the
JIT-EE interface contract. In particular, MethodTables compute
and cache the "eightbyte" info of structs when loading a type.
This is not done when only `FEATURE_UNIX_AMD64_STRUCT_PASSING_ITF`
is set, to avoid altering MethodTable behavior on non-Unix
AMD64 builds. Instead, if `getSystemVAmd64PassStructInRegisterDescriptor()`
is called on a non-Unix build (by the altjit), the `ClassifyEightBytes()`
function is called, and nothing is cached. Hopefully (though it was
hard for me to guarantee by observation), calling `ClassifyEightBytes()`
does not have any side effects on MethodTables. It doesn't really matter,
since if called for altjit, we don't care too much about running.

The previously used `PLATFORM_UNIX` define is now insufficient.
I introduced the `#define` macros `_HOST_UNIX_` to indicate the
JIT being built will run on Unix, and `_TARGET_UNIX_` to indicate
the JIT is generating code targeting Unix. Some things were
converted to use the `UNIX_AMD64_ABI` define, which makes more
sense.

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

7 years agoMerge pull request dotnet/coreclr#10129 from BruceForstall/AdjustStackLevel
Bruce Forstall [Mon, 13 Mar 2017 23:17:18 +0000 (16:17 -0700)]
Merge pull request dotnet/coreclr#10129 from BruceForstall/AdjustStackLevel

Move adjustments to genStackLevel into functions

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

7 years agoMerge pull request dotnet/coreclr#10150 from wtgodbe/SupplementalPayload
William Godbe [Mon, 13 Mar 2017 23:13:00 +0000 (16:13 -0700)]
Merge pull request dotnet/coreclr#10150 from wtgodbe/SupplementalPayload

Re-insert Supplemental Payload into Helix payload

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

7 years agoPick up new CoreFX packages and abandon old ones
wtgodbe [Wed, 22 Feb 2017 20:35:27 +0000 (12:35 -0800)]
Pick up new CoreFX packages and abandon old ones

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

7 years agoRe-insert Supplemental Payload into Helix payload
wtgodbe [Mon, 13 Mar 2017 21:51:39 +0000 (14:51 -0700)]
Re-insert Supplemental Payload into Helix payload

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

7 years agoMerge pull request dotnet/coreclr#10072 from pgavlin/gh10022
Pat Gavlin [Mon, 13 Mar 2017 19:59:49 +0000 (12:59 -0700)]
Merge pull request dotnet/coreclr#10072 from pgavlin/gh10022

Fix some cross-thread memory accesses in a JIT test.

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

7 years agoWork for IBC profiling with ReadyToRun images
Brian Sullivan [Wed, 8 Mar 2017 02:58:11 +0000 (18:58 -0800)]
Work for IBC profiling with ReadyToRun images

Incremented ReadyToRun version to 2.2
Implemented caching for IsInstrumented using IS_INSTRUMENTED_UNSET
Added method Module::InitializeForProfiling()
Added full support for method profile counts in ReadyToRun image

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

7 years agoMerge pull request dotnet/coreclr#10092 from tannergooding/vs2017
Tanner Gooding [Mon, 13 Mar 2017 19:08:20 +0000 (12:08 -0700)]
Merge pull request dotnet/coreclr#10092 from tannergooding/vs2017

Updating tests/runtest.cmd to use delayed expansion for instances of `_msbuildexe`

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

7 years agoAdd 3PN entry (dotnet/coreclr#10146)
Rich Lander [Mon, 13 Mar 2017 18:35:35 +0000 (11:35 -0700)]
Add 3PN entry (dotnet/coreclr#10146)

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

7 years agoMerge pull request dotnet/coreclr#10090 from adiaaida/crossgenAllAssemblies
Michelle McDaniel [Mon, 13 Mar 2017 18:09:48 +0000 (11:09 -0700)]
Merge pull request dotnet/coreclr#10090 from adiaaida/crossgenAllAssemblies

Crossgen all assemblies for throughput perf

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

7 years agoMerge pull request dotnet/coreclr#10083 from hqueue/arm/ryujit/decomposed_long_fix
Bruce Forstall [Mon, 13 Mar 2017 16:38:39 +0000 (09:38 -0700)]
Merge pull request dotnet/coreclr#10083 from hqueue/arm/ryujit/decomposed_long_fix

[Ryujit/ARM32] Fix wrong comparion

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

7 years agoMerge pull request dotnet/coreclr#10095 from jashook/update_arm64_exclusions
Jarret Shook [Mon, 13 Mar 2017 16:26:16 +0000 (09:26 -0700)]
Merge pull request dotnet/coreclr#10095 from jashook/update_arm64_exclusions

Update arm64 exclusions

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

7 years agoMerge pull request dotnet/coreclr#10125 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Mon, 13 Mar 2017 16:18:51 +0000 (09:18 -0700)]
Merge pull request dotnet/coreclr#10125 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25113-01 (master)

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

7 years agoUpdating tests/runtest.cmd to use delayed expansion for instances of `_msbuildexe`
Tanner Gooding [Fri, 10 Mar 2017 18:11:23 +0000 (10:11 -0800)]
Updating tests/runtest.cmd to use delayed expansion for instances of `_msbuildexe`

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

7 years agoMerge pull request dotnet/coreclr#10067 from mikedn/oak-no-throw-equals
Joseph Tremoulet [Mon, 13 Mar 2017 14:15:18 +0000 (10:15 -0400)]
Merge pull request dotnet/coreclr#10067 from mikedn/oak-no-throw-equals

Fix AssertionDsc::Equals OAK_NO_THROW's handling

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

7 years agoMerge pull request dotnet/coreclr#10105 from JonHanna/corefx16566
Atsushi Kanamori [Mon, 13 Mar 2017 13:58:28 +0000 (06:58 -0700)]
Merge pull request dotnet/coreclr#10105 from JonHanna/corefx16566

Rename Type.IsSzArray to Type.IsSZArray and make public.

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

7 years agoUse VSD_STUB_CAN_THROW_AV instead of explicit _TARGET_XXX_ (dotnet/coreclr#10143)
Jonghyun Park [Mon, 13 Mar 2017 11:47:08 +0000 (20:47 +0900)]
Use VSD_STUB_CAN_THROW_AV instead of explicit _TARGET_XXX_ (dotnet/coreclr#10143)

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

7 years agoUse GetDoubleArrayToLargeObjectHeapThreshold when FEATURE_DOUBLE_ALIGNMENT_HINT is...
Jonghyun Park [Mon, 13 Mar 2017 11:44:06 +0000 (20:44 +0900)]
Use GetDoubleArrayToLargeObjectHeapThreshold when FEATURE_DOUBLE_ALIGNMENT_HINT is on (dotnet/coreclr#10136)

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

7 years agoUpdate CoreClr to beta-25113-01
dotnet-bot [Mon, 13 Mar 2017 09:02:02 +0000 (09:02 +0000)]
Update CoreClr to beta-25113-01

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

7 years agoMerge pull request dotnet/coreclr#10134 from seanshpark/fixtypo
Bruce Forstall [Mon, 13 Mar 2017 05:31:44 +0000 (22:31 -0700)]
Merge pull request dotnet/coreclr#10134 from seanshpark/fixtypo

Fix typo in Compiler::gtHasRef()

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

7 years agoImprove encoding performance (dotnet/coreclr#10124)
Jan Kotas [Mon, 13 Mar 2017 04:06:26 +0000 (21:06 -0700)]
Improve encoding performance (dotnet/coreclr#10124)

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

7 years agoFix typo in Compiler::gtHasRef()
SaeHie Park [Mon, 13 Mar 2017 03:09:56 +0000 (12:09 +0900)]
Fix typo in Compiler::gtHasRef()

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

7 years agoRemove dead code (dotnet/coreclr#10128)
Bruce Forstall [Mon, 13 Mar 2017 00:58:08 +0000 (17:58 -0700)]
Remove dead code (dotnet/coreclr#10128)

Remove code under `#ifdef PROTO_JIT`, which hasn't been defined
in a long time. I'm presuming that since this hasn't been defined
in a long time that the code isn't needed.

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

7 years agoMove adjustments to genStackLevel into functions
Bruce Forstall [Sun, 12 Mar 2017 18:39:34 +0000 (11:39 -0700)]
Move adjustments to genStackLevel into functions

Add functions AddStackLevel(), SubtractStackLevel(), and SetStackLevel()
for making any changes to genStackLevel. this allows for centralized asserts,
JitDump output, and breakpoint setting.

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

7 years agoUpdate License and add 3PN notices (dotnet/coreclr#10117)
Rich Lander [Sun, 12 Mar 2017 06:15:30 +0000 (22:15 -0800)]
Update License and add 3PN notices (dotnet/coreclr#10117)

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

7 years agoMerge pull request dotnet/coreclr#9867 from sdmaclea/PR-ARM64-FAILS-9857
Jarret Shook [Sun, 12 Mar 2017 04:09:08 +0000 (20:09 -0800)]
Merge pull request dotnet/coreclr#9867 from sdmaclea/PR-ARM64-FAILS-9857

[Arm64/Unix] Update fails as result of dotnet/coreclr#9857

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

7 years agoMerge pull request dotnet/coreclr#10121 from dotnet-bot/master-UpdateDependencies
Stephen Toub [Sat, 11 Mar 2017 23:28:39 +0000 (18:28 -0500)]
Merge pull request dotnet/coreclr#10121 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25111-03 (master)

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

7 years agoUpdate CoreClr to beta-25111-03
dotnet-bot [Sat, 11 Mar 2017 17:54:45 +0000 (17:54 +0000)]
Update CoreClr to beta-25111-03

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

7 years agoUpdate the arm64 metadata based on issues.targets
jashook [Fri, 10 Mar 2017 18:55:24 +0000 (10:55 -0800)]
Update the arm64 metadata based on issues.targets

Note, this moves around a few things in issues.targets to group the
same issues and removes 2414 which was closed.

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

7 years agoMerge pull request dotnet/coreclr#10116 from jkotas/issue-6209
Stephen Toub [Sat, 11 Mar 2017 11:53:32 +0000 (06:53 -0500)]
Merge pull request dotnet/coreclr#10116 from jkotas/issue-6209

Strip internal frame in Environment.StackTrace

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

7 years agoMerge pull request dotnet/coreclr#10118 from BruceForstall/FixRuntest
Bruce Forstall [Sat, 11 Mar 2017 08:32:48 +0000 (00:32 -0800)]
Merge pull request dotnet/coreclr#10118 from BruceForstall/FixRuntest

Fix delayed expansion scripting error in runtest.cmd

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

7 years agoFix delayed expansion scripting error in runtest.cmd
Bruce Forstall [Sat, 11 Mar 2017 06:48:35 +0000 (22:48 -0800)]
Fix delayed expansion scripting error in runtest.cmd

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

7 years agoFix incorrect assert condition
Jan Kotas [Sat, 11 Mar 2017 05:55:51 +0000 (21:55 -0800)]
Fix incorrect assert condition

Fixes dotnet/coreclr#8683

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

7 years agoStrip internal frame in Environment.StackTrace
Jan Kotas [Sat, 11 Mar 2017 05:39:25 +0000 (21:39 -0800)]
Strip internal frame in Environment.StackTrace

Contributes to dotnet/coreclr#6209

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

7 years agoMerge pull request dotnet/coreclr#10071 from jashook/r2r_gcstress_3_exclusions
Jarret Shook [Sat, 11 Mar 2017 04:57:55 +0000 (20:57 -0800)]
Merge pull request dotnet/coreclr#10071 from jashook/r2r_gcstress_3_exclusions

Exclude R2R and GCStress 3 failures.

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

7 years agoRename Type.IsSzArray to Type.IsSZArray and make public.
Jon Hanna [Sat, 11 Mar 2017 00:13:27 +0000 (00:13 +0000)]
Rename Type.IsSzArray to Type.IsSZArray and make public.

For dotnet/corefxdotnet/coreclr#16566

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

7 years agoMerge pull request dotnet/coreclr#10075 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 10 Mar 2017 23:05:26 +0000 (15:05 -0800)]
Merge pull request dotnet/coreclr#10075 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25110-03, beta-25110-02, respectively (master)

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

7 years agoMerge pull request dotnet/coreclr#9979 from alpencolt/ryu-arm-blocks
Bruce Forstall [Fri, 10 Mar 2017 22:57:22 +0000 (14:57 -0800)]
Merge pull request dotnet/coreclr#9979 from alpencolt/ryu-arm-blocks

[RyuJIT/ARM32] GT_STORE_BLK/GT_STORE_DYN_BLK support in codegen

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

7 years agoMerge pull request dotnet/coreclr#9679 from alpencolt/ryu-arm-arr-index-offset
Bruce Forstall [Fri, 10 Mar 2017 22:37:19 +0000 (14:37 -0800)]
Merge pull request dotnet/coreclr#9679 from alpencolt/ryu-arm-arr-index-offset

[RyuJIT/ARM32] GT_ARR_INDEX/GT_ARR_OFFSET support in codegen.

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

7 years agoImprove performance of Span.Fill (dotnet/coreclr#10084)
Jan Kotas [Fri, 10 Mar 2017 21:43:37 +0000 (13:43 -0800)]
Improve performance of Span.Fill (dotnet/coreclr#10084)

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

7 years agoMerge pull request dotnet/coreclr#10096 from Maoni0/nogc
Maoni Stephens [Fri, 10 Mar 2017 21:42:30 +0000 (13:42 -0800)]
Merge pull request dotnet/coreclr#10096 from Maoni0/nogc

Porting desktop GC changes to coreclr. This fixes the following:

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

7 years agoPorting desktop changes to coreclr. This fixes the following:
Maoni0 [Fri, 10 Mar 2017 19:39:09 +0000 (11:39 -0800)]
Porting desktop changes to coreclr. This fixes the following:

1) https://github.com/dotnet/coreclr/issues/6809
2) when we do a minimal GC, we need to maintain the states correctly (sync up tables and clear bricks for the portion that we don't need in a normal GC but do need in minimal GC)

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

7 years agoFix debugging on OS X Sierra (dotnet/coreclr#10078)
Mike McLaughlin [Fri, 10 Mar 2017 18:57:29 +0000 (10:57 -0800)]
Fix debugging on OS X Sierra (dotnet/coreclr#10078)

Issue dotnet/coreclr#9730

The output of the vmmap changed between OS X versions. Changed the sscanf formatting to deal with both old/new formats.

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

7 years agoUpdate CoreClr, CoreFx to beta-25110-03, beta-25110-02, respectively
dotnet-bot [Fri, 10 Mar 2017 17:59:04 +0000 (17:59 +0000)]
Update CoreClr, CoreFx to beta-25110-03, beta-25110-02, respectively

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

7 years ago[x86/Linux][GDB-JIT] Fix crash after changing default calling convention in PR dotnet...
Evgeny Pavlov [Fri, 10 Mar 2017 17:58:35 +0000 (20:58 +0300)]
[x86/Linux][GDB-JIT] Fix crash after changing default calling convention in PR dotnet/coreclr#9977 (dotnet/coreclr#10087)

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

7 years agoExclude R2R and GCStress 3 failures.
jashook [Thu, 9 Mar 2017 21:38:13 +0000 (13:38 -0800)]
Exclude R2R and GCStress 3 failures.

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

7 years agoCrossgen all assemblies for throughput perf
Michelle McDaniel [Fri, 10 Mar 2017 16:47:50 +0000 (08:47 -0800)]
Crossgen all assemblies for throughput perf

We want to run over all of the Microsoft and System dlls when running
throughput perf testing. We exclude some assemblies because they require
other assemblies that are not in the assemblies packages.

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

7 years agoMerge pull request dotnet/coreclr#10079 from hseok-oh/ci/x86_job
Gaurav Khanna [Fri, 10 Mar 2017 15:58:21 +0000 (07:58 -0800)]
Merge pull request dotnet/coreclr#10079 from hseok-oh/ci/x86_job

[Linux/x86] Enable CI Linux/x86 build

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

7 years agoMerge pull request dotnet/coreclr#10061 from adiaaida/linuxThroughputTesting
Michelle McDaniel [Fri, 10 Mar 2017 15:39:55 +0000 (07:39 -0800)]
Merge pull request dotnet/coreclr#10061 from adiaaida/linuxThroughputTesting

Add linux throughput testing support

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

7 years agoRemove faulty asserts from ArraySegment (dotnet/coreclr#10086)
Stephen Toub [Fri, 10 Mar 2017 14:28:15 +0000 (09:28 -0500)]
Remove faulty asserts from ArraySegment (dotnet/coreclr#10086)

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

7 years ago[Linux/x86] Enable CI Linux/x86 build job
Hyeongseok Oh [Fri, 10 Mar 2017 01:17:56 +0000 (10:17 +0900)]
[Linux/x86] Enable CI Linux/x86 build job

Make new CI job: Linux/x86 build (debug, checked, release)
- Triggered on-demand
- Docker for crossbuild
- Use build-rootfs.sh script to make x86 rootfs

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

7 years ago[Ryujit/ARM32] Fix wrong comparion
Hyung-Kyu Choi [Fri, 10 Mar 2017 07:15:23 +0000 (16:15 +0900)]
[Ryujit/ARM32] Fix wrong comparion

Fix wrong comparision.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/f6d581ce298749e70cba1f4441fe1a599486d090

7 years agoMove more types into the shared partition. (dotnet/coreclr#10068)
Atsushi Kanamori [Fri, 10 Mar 2017 03:20:12 +0000 (19:20 -0800)]
Move more types into the shared partition. (dotnet/coreclr#10068)

* Split/Move files verbatim into shared partition.

* Style cleanup.

- Delete unused usings

- Use autoprops when possible

- Lambda syntax for TypeDelegator
  (yes, it's a lot of code review noise
  but if there was ever a canonical use-case
  for that syntax, this is it.)

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

7 years agoAdd linux throughput testing support
Michelle McDaniel [Wed, 8 Mar 2017 22:58:03 +0000 (22:58 +0000)]
Add linux throughput testing support

This change modifies perf-prep.sh, run-throughput-perf.py and perf.groovy
to add support for linux throughput testing. The following changes have
been made:

1. Update run-throughput-perf to specify the jit differently on linux and
windows. Create a new set of dlls to crossgen on linux. The following are
removed: CodeAnalysis, CodeAnalysis.VisualBasic, CodeAnalysis.Csharp
(these do not exist in the corefx runtime dir that we will be using on
linux), System, System.Core, System.XML (these are significantly smaller
on Linux than windows). Make the list of architectures a dictionary so we
can specify different arches for different oses. Change the path to
crossgen/the jit to the Product directory. Change the timer to
timeit.default_timer, which will pick the most accurate timer for each
platform.

2. Modify perf-prep for throughput purposes. In throughput testing, we
need to enlist in corefx and build it. We pick a specific commit to enlist
in so that testing will be consistent. The rest of the work that perf-prep
can be skipped for throughput testing, as we are not running tests.

3. Update perf.groovy with throughput jobs on Linux.

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

7 years agoMerge pull request dotnet/coreclr#10032 from pgavlin/LastUsesBuildIntervals
Pat Gavlin [Fri, 10 Mar 2017 00:26:11 +0000 (16:26 -0800)]
Merge pull request dotnet/coreclr#10032 from pgavlin/LastUsesBuildIntervals

Calculate last uses while building intervals.

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

7 years agoFix some cross-thread memory accesses in a JIT test.
Pat Gavlin [Thu, 9 Mar 2017 22:40:21 +0000 (14:40 -0800)]
Fix some cross-thread memory accesses in a JIT test.

This test was concurrently accessing shared memory without using
appropriate volatile accesses. This change adds the `volatile.`
prefix where necessary.

There is a slim change that this will fix dotnet/coreclr#10022.

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

7 years agoFix incremental build of resources injected to coreclr.dll (dotnet/coreclr#10045)
Jan Vorlicek [Thu, 9 Mar 2017 22:28:24 +0000 (23:28 +0100)]
Fix incremental build of resources injected to coreclr.dll (dotnet/coreclr#10045)

* Fix incremental build of resources injected to coreclr.dll

This change fixes the build of resources injected to coreclr.dll so that it
happens only when its dependencies change and not at every build.

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

7 years agoSupport cross compiling for Zesty (dotnet/coreclr#10066)
Frederik Carlier [Thu, 9 Mar 2017 22:27:55 +0000 (23:27 +0100)]
Support cross compiling for Zesty (dotnet/coreclr#10066)

* Support Zesty, newer liblldb packages

* Describe lldb options

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

7 years agoMerge pull request dotnet/coreclr#9728 from rahku/fixIssue8683
Rahul Kumar [Thu, 9 Mar 2017 21:49:22 +0000 (13:49 -0800)]
Merge pull request dotnet/coreclr#9728 from rahku/fixIssue8683

Ignore binder context for corelib when performing binding cache lookup

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

7 years agoImprove span copy of pointers and structs containing pointers (dotnet/coreclr#9999)
Koundinya Veluri [Thu, 9 Mar 2017 21:12:43 +0000 (13:12 -0800)]
Improve span copy of pointers and structs containing pointers (dotnet/coreclr#9999)

Improve span copy of pointers and structs containing pointers

Fixes dotnet/coreclr#9161

PR dotnet/coreclr#9786 fixes perf of span copy of types that don't contain references

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

7 years agoMerge pull request dotnet/coreclr#10063 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 9 Mar 2017 21:03:28 +0000 (13:03 -0800)]
Merge pull request dotnet/coreclr#10063 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-25109-03 (master)

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

7 years agoFix AssertionDsc::Equals OAK_NO_THROW's handling
Mike Danes [Thu, 9 Mar 2017 20:04:53 +0000 (22:04 +0200)]
Fix AssertionDsc::Equals OAK_NO_THROW's handling

op2 of a OAK_NO_THROW assertions is O2K_INVALID and HasSameOp2 always returns false for O2K_INVALID. As a result OAK_NO_THROW assertions always compare unequal and duplicate assertions are generated that waste space in the assertion table.

Also, HasSameOp1 only checks op1.vn but that is bogus for OAK_NO_THROW assertions, most of the time is 0.

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

7 years agoIgnore binder context for corelib when performing binding cache lookup
Rahul Kumar [Thu, 23 Feb 2017 00:54:48 +0000 (16:54 -0800)]
Ignore binder context for corelib when performing binding cache lookup

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

7 years agoUpdate CoreClr to beta-25109-03
dotnet-bot [Thu, 9 Mar 2017 18:28:01 +0000 (18:28 +0000)]
Update CoreClr to beta-25109-03

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

7 years agoMerge pull request dotnet/coreclr#10055 from tannergooding/vs2017
Gaurav Khanna [Thu, 9 Mar 2017 17:27:09 +0000 (09:27 -0800)]
Merge pull request dotnet/coreclr#10055 from tannergooding/vs2017

Updating the windows-instructions to list the minimum install requirements for VS2017 and to clarify that MSDIA120.dll must be registered.

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

7 years ago[Ryujit/ARM32] Support binary operator for decomposed long (dotnet/coreclr#9978)
Hyung-Kyu Choi [Thu, 9 Mar 2017 17:10:21 +0000 (02:10 +0900)]
[Ryujit/ARM32] Support binary operator for decomposed long (dotnet/coreclr#9978)

Implement binary operator for decomposed long type
in Lowering::TreeNodeInfoInit and CodeGen::genGetInsForOper,
i.e. GT_ADD_HI, GT_ADD_LO, GT_SUB_HI and GT_SUB_LO.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/85641ec931be7f275fe9efcef44f79e1b287fb7f

7 years agoUpdating the windows-instructions to list the minimum install requirements for VS2017...
Tanner Gooding [Thu, 9 Mar 2017 17:08:58 +0000 (09:08 -0800)]
Updating the windows-instructions to list the minimum install requirements for VS2017 and to clarify that MSDIA120.dll must be registered.

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

7 years agoMerge pull request dotnet/coreclr#10053 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 9 Mar 2017 17:01:17 +0000 (09:01 -0800)]
Merge pull request dotnet/coreclr#10053 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25109-01, beta-25109-03, respectively (master)

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

7 years agoUpdate CoreClr, CoreFx to beta-25109-01, beta-25109-03, respectively
dotnet-bot [Thu, 9 Mar 2017 15:25:54 +0000 (15:25 +0000)]
Update CoreClr, CoreFx to beta-25109-01, beta-25109-03, respectively

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

7 years agoAggressiveInlining AsBytes and NonPortableCast (dotnet/coreclr#10057)
Ahson Ahmed Khan [Thu, 9 Mar 2017 14:45:45 +0000 (06:45 -0800)]
AggressiveInlining AsBytes and NonPortableCast (dotnet/coreclr#10057)

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

7 years agoMove System.Security attributes to shared partition. (dotnet/coreclr#10036)
Atsushi Kanamori [Thu, 9 Mar 2017 14:44:26 +0000 (06:44 -0800)]
Move System.Security attributes to shared partition. (dotnet/coreclr#10036)

* Split System\Security\Attributes.cs into properly named files.

* Formatting cleanup

"sealed public" => "public sealed"

"System.Attribute" => "Attribute"

Use autoprops when possible.

Be explicit about nullary constructors
 (since 90% of them already were.)

* Remove blank line.

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

7 years agoDo not set the last use bit on UVR ref positions.
Pat Gavlin [Thu, 9 Mar 2017 06:10:36 +0000 (22:10 -0800)]
Do not set the last use bit on UVR ref positions.

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

7 years agoFix extend lifetimes stress.
Pat Gavlin [Thu, 9 Mar 2017 05:51:47 +0000 (21:51 -0800)]
Fix extend lifetimes stress.

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

7 years ago[x86/Linux] Correctly adjust stack for double aligned frames (dotnet/coreclr#9998)
Jonghyun Park [Thu, 9 Mar 2017 01:27:51 +0000 (10:27 +0900)]
[x86/Linux] Correctly adjust stack for double aligned frames (dotnet/coreclr#9998)

[x86/Linux] Correct stack align for double aligned frames

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

7 years ago[x86/Linux] 16-byte aligned UMThunkStubs (dotnet/coreclr#9997)
Jonghyun Park [Thu, 9 Mar 2017 01:19:57 +0000 (10:19 +0900)]
[x86/Linux] 16-byte aligned UMThunkStubs (dotnet/coreclr#9997)

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

7 years agoMerge pull request dotnet/coreclr#9956 from tannergooding/vs2017
Tanner Gooding [Thu, 9 Mar 2017 00:16:42 +0000 (16:16 -0800)]
Merge pull request dotnet/coreclr#9956 from tannergooding/vs2017

Updating the build scripts to support VS2017.

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

7 years agoUpdate to buildtools version 1.0.27-prerelease-01407-02, and enable creating transpor...
chcosta [Thu, 9 Mar 2017 00:07:32 +0000 (16:07 -0800)]
Update to buildtools version 1.0.27-prerelease-01407-02, and enable creating transport packages (dotnet/coreclr#10020)

* Update BuildTools fixes

* Update to buildtools version 1.0.27-prerelease-01407-02, and enable
building transport packages

* fix netcore project

* Avoid msb3644 error

* Fix bad copy

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

7 years agoMerge pull request dotnet/coreclr#10038 from BruceForstall/DontBuildLegacy
Bruce Forstall [Thu, 9 Mar 2017 00:05:37 +0000 (16:05 -0800)]
Merge pull request dotnet/coreclr#10038 from BruceForstall/DontBuildLegacy

Stop building x86 LEGACY_BACKEND

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

7 years agoRevise Interop TC Calling Convention (dotnet/coreclr#10014)
Jonghyun Park [Wed, 8 Mar 2017 22:35:33 +0000 (07:35 +0900)]
Revise Interop TC Calling Convention (dotnet/coreclr#10014)

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

7 years agoSRV->SVR in BotR GC section.
Aditya Mandaleeka [Wed, 8 Mar 2017 22:34:40 +0000 (14:34 -0800)]
SRV->SVR in BotR GC section.

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

7 years agoUpdating the building/windows-instructions.md to indicate the support for and require...
Tanner Gooding [Wed, 8 Mar 2017 02:15:25 +0000 (18:15 -0800)]
Updating the building/windows-instructions.md to indicate the support for and requirements of using VS2017.

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

7 years agoMerge pull request dotnet/coreclr#10044 from mmitche/remove-nuget-cache
Matt Mitchell [Wed, 8 Mar 2017 21:01:40 +0000 (13:01 -0800)]
Merge pull request dotnet/coreclr#10044 from mmitche/remove-nuget-cache

Remove the nuget cache from the archival

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

7 years agoAdd all .nuget subdirs
Matt Mitchell [Wed, 8 Mar 2017 20:35:55 +0000 (12:35 -0800)]
Add all .nuget subdirs

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

7 years agoRemove the nuget cache from the archival
Matt Mitchell [Wed, 8 Mar 2017 20:20:51 +0000 (12:20 -0800)]
Remove the nuget cache from the archival
This is taking an incredible amount of space and causing problems

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

7 years agoMerge pull request dotnet/coreclr#9950 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Wed, 8 Mar 2017 19:50:36 +0000 (11:50 -0800)]
Merge pull request dotnet/coreclr#9950 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-25108-04, beta-25108-02, respectively (master)

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

7 years agoMerge pull request dotnet/coreclr#10040 from adiaaida/perfjobtriggers
Michelle McDaniel [Wed, 8 Mar 2017 19:20:43 +0000 (11:20 -0800)]
Merge pull request dotnet/coreclr#10040 from adiaaida/perfjobtriggers

Change perf test trigger phases

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