platform/upstream/dotnet/runtime.git
8 years agoMerge pull request dotnet/coreclr#3700 from rahku/updateBuildTools
Rahul Kumar [Wed, 16 Mar 2016 00:12:15 +0000 (17:12 -0700)]
Merge pull request dotnet/coreclr#3700 from rahku/updateBuildTools

Update buildtools version to 00198

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

8 years agoMerge pull request dotnet/coreclr#3739 from gkhanna79/FixRTJson
Gaurav Khanna [Wed, 16 Mar 2016 00:03:25 +0000 (17:03 -0700)]
Merge pull request dotnet/coreclr#3739 from gkhanna79/FixRTJson

Fix runtime.json to include all platforms in the redirection package.…

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

8 years agoMerge pull request dotnet/coreclr#3741 from wtgodbe/r2r
William Godbe [Tue, 15 Mar 2016 22:30:20 +0000 (15:30 -0700)]
Merge pull request dotnet/coreclr#3741 from wtgodbe/r2r

Fix file-too-long errors caused by adding R2R tests to CI

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

8 years agoFix file-too-long errors caused by adding R2R tests to CI
wtgodbe [Tue, 15 Mar 2016 21:56:16 +0000 (14:56 -0700)]
Fix file-too-long errors caused by adding R2R tests to CI

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

8 years agoFix runtime.json to include all platforms in the redirection package. Also update...
Gaurav Khanna [Tue, 15 Mar 2016 20:51:57 +0000 (13:51 -0700)]
Fix runtime.json to include all platforms in the redirection package. Also update the CLI build version (taken from CoreFX).

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

8 years agoMerge pull request dotnet/coreclr#3706 from rahku/fixbug
Rahul Kumar [Tue, 15 Mar 2016 20:35:30 +0000 (13:35 -0700)]
Merge pull request dotnet/coreclr#3706 from rahku/fixbug

fix dir of disabled test

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

8 years agoMerge pull request dotnet/coreclr#3705 from wtgodbe/r2r
William Godbe [Tue, 15 Mar 2016 20:09:53 +0000 (13:09 -0700)]
Merge pull request dotnet/coreclr#3705 from wtgodbe/r2r

Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase

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

8 years agoMerge pull request dotnet/coreclr#3729 from gkhanna79/FixNugetPackage
Gaurav Khanna [Tue, 15 Mar 2016 19:35:25 +0000 (12:35 -0700)]
Merge pull request dotnet/coreclr#3729 from gkhanna79/FixNugetPackage

Fix 3724 - Include Runtime.json in redirection package

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

8 years agoMerge pull request dotnet/coreclr#3711 from rahku/Helix
Rahul Kumar [Tue, 15 Mar 2016 19:17:29 +0000 (12:17 -0700)]
Merge pull request dotnet/coreclr#3711 from rahku/Helix

Add dependency to apisets correctly

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

8 years agoEnable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase
wtgodbe [Mon, 14 Mar 2016 23:10:10 +0000 (16:10 -0700)]
Enable pri0 crossgen build/tests per-commit, and pri1 by trigger phrase

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

8 years agoAdd dependency to apisets correctly
Rahul Kumar [Mon, 14 Mar 2016 21:40:55 +0000 (14:40 -0700)]
Add dependency to apisets correctly
Update version of apisets

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

8 years agoMerge pull request dotnet/coreclr#3719 from dotnet-bot/from-tfs
Jan Kotas [Tue, 15 Mar 2016 16:14:00 +0000 (09:14 -0700)]
Merge pull request dotnet/coreclr#3719 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoFix 3724 - Include Runtime.json in redirection package
Gaurav Khanna [Tue, 15 Mar 2016 15:04:53 +0000 (08:04 -0700)]
Fix 3724 - Include Runtime.json in redirection package

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

8 years agoMerge pull request dotnet/coreclr#3720 from gkhanna79/FixTestTimeOut
Gaurav Khanna [Tue, 15 Mar 2016 14:26:05 +0000 (07:26 -0700)]
Merge pull request dotnet/coreclr#3720 from gkhanna79/FixTestTimeOut

Fix timeout determination for tests

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

8 years agoMerge pull request dotnet/coreclr#3694 from RussKeldorph/stresstags
Russ Keldorph [Tue, 15 Mar 2016 14:17:56 +0000 (07:17 -0700)]
Merge pull request dotnet/coreclr#3694 from RussKeldorph/stresstags

Exclude doublearray/* from GCStress runs

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

8 years agoMerge pull request dotnet/coreclr#3680 from mikedn/bad-disasm
Kyungwoo Lee [Tue, 15 Mar 2016 13:38:36 +0000 (06:38 -0700)]
Merge pull request dotnet/coreclr#3680 from mikedn/bad-disasm

Fix some JIT disassembly issues

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

8 years agoMerge pull request dotnet/coreclr#3698 from kyulee1/Fixovf
Kyungwoo Lee [Tue, 15 Mar 2016 13:38:04 +0000 (06:38 -0700)]
Merge pull request dotnet/coreclr#3698 from kyulee1/Fixovf

ARM64: Fix genJumpToThrowHlpBlk

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

8 years agoMerge pull request dotnet/coreclr#3692 from kyulee1/fixuint2float
Kyungwoo Lee [Tue, 15 Mar 2016 13:35:34 +0000 (06:35 -0700)]
Merge pull request dotnet/coreclr#3692 from kyulee1/fixuint2float

ARM64: Fix casting unsigned int to double

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

8 years agoFix timeout determination for tests
Gaurav Khanna [Tue, 15 Mar 2016 03:36:14 +0000 (20:36 -0700)]
Fix timeout determination for tests

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

8 years agoMerge pull request dotnet/coreclr#3699 from jkotas/tests
Jan Kotas [Tue, 15 Mar 2016 03:10:55 +0000 (20:10 -0700)]
Merge pull request dotnet/coreclr#3699 from jkotas/tests

Test fixes

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

8 years agoMerge pull request dotnet/coreclr#3634 from ramarag/testbuild
Rama krishnan Raghupathy [Tue, 15 Mar 2016 01:53:57 +0000 (18:53 -0700)]
Merge pull request dotnet/coreclr#3634 from ramarag/testbuild

Enabling standalone builds for Test Project of any Priority

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

8 years agoMerge pull request dotnet/coreclr#3702 from wtgodbe/disableEH
William Godbe [Tue, 15 Mar 2016 00:31:44 +0000 (17:31 -0700)]
Merge pull request dotnet/coreclr#3702 from wtgodbe/disableEH

Disable failing Hardware EH test on non-windows

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

8 years agoMerge pull request dotnet/coreclr#3654 from ramarag/lttngperf
Rama krishnan Raghupathy [Mon, 14 Mar 2016 23:49:25 +0000 (16:49 -0700)]
Merge pull request dotnet/coreclr#3654 from ramarag/lttngperf

Using StackString to improve memory consumption in Lttng EventProvider

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

8 years agofix dir of disabled test
Rahul Kumar [Mon, 14 Mar 2016 23:47:56 +0000 (16:47 -0700)]
fix dir of disabled test

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

8 years agoDisable failing Hardware EH test on non-windows
wtgodbe [Mon, 14 Mar 2016 22:28:03 +0000 (15:28 -0700)]
Disable failing Hardware EH test on non-windows

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

8 years agoMerge pull request dotnet/coreclr#3695 from tarekgh/FixUmAlQuraCalendarStaticDataInit...
Tarek Mahmoud Sayed [Mon, 14 Mar 2016 22:02:01 +0000 (15:02 -0700)]
Merge pull request dotnet/coreclr#3695 from tarekgh/FixUmAlQuraCalendarStaticDataInitialization

Fix UmAlQuraCalendar static data initilaization

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

8 years agoMake sure that the AppContext.GetData method is part of model.xml.
Alex Ghiondea [Mon, 14 Mar 2016 21:47:38 +0000 (14:47 -0700)]
Make sure that the AppContext.GetData method is part of model.xml.

This was missed in the previous check-in.

[tfs-changeset: 1585251]

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

8 years agoUpdate buildtools version to 00198
Rahul Kumar [Mon, 14 Mar 2016 21:44:44 +0000 (14:44 -0700)]
Update buildtools version to 00198

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

8 years agoAdd latent Roslyn dependency to project.json
Jan Kotas [Mon, 14 Mar 2016 21:24:09 +0000 (14:24 -0700)]
Add latent Roslyn dependency to project.json

Roslyn loads System.Security.Cryptography.Algorithms via reflection

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

8 years agoDelete bad tests
Jan Kotas [Sun, 13 Mar 2016 13:03:17 +0000 (06:03 -0700)]
Delete bad tests

These tests depend on Thread.Abort and reflection emit APIs that are not part of supported .NET Core surface

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

8 years agoMerge pull request dotnet/coreclr#3679 from kyulee1/fixgchole
Kyungwoo Lee [Mon, 14 Mar 2016 21:05:40 +0000 (14:05 -0700)]
Merge pull request dotnet/coreclr#3679 from kyulee1/fixgchole

ARM64: Fix GC hole in indirect call site

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

8 years agoARM64: Fix genJumpToThrowHlpBlk
Kyungwoo Lee [Mon, 14 Mar 2016 20:53:07 +0000 (13:53 -0700)]
ARM64: Fix genJumpToThrowHlpBlk

This is additional fix to https://github.com/dotnet/coreclr/issues/3667.
When JIT invokes this API with direct jump (EJ_jmp), JIT also tries to
circumvent the target by reversing the jump kind in debug path.
In this case, actually we should directly invoke the target.

Before (Fail)
```
 b       G_M36945_IG03
 bl      CORINFO_HELP_THROWDIVZERO
G_M36945_IG03:
```

After (Pass)
```
 bl      CORINFO_HELP_THROWDIVZERO
```

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

8 years agoExpose AppDomain.GetData via AppContext.
Alex Ghiondea [Mon, 14 Mar 2016 20:34:43 +0000 (13:34 -0700)]
Expose AppDomain.GetData via AppContext.

This is useful in certain scenarios where there is a need for information to be passed using the AppDomain.GetData methods.

[tfs-changeset: 1585237]

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

8 years agoMerge pull request dotnet/coreclr#3696 from briansull/update-tests-lst
Brian Sullivan [Mon, 14 Mar 2016 20:00:30 +0000 (13:00 -0700)]
Merge pull request dotnet/coreclr#3696 from briansull/update-tests-lst

Update tests lst for ARM64

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

8 years agoMerge branch 'master' into update-tests-lst
Brian Sullivan [Mon, 14 Mar 2016 19:57:39 +0000 (12:57 -0700)]
Merge branch 'master' into update-tests-lst

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

8 years agoUpdated with NEW_PASS tests
Brian Sullivan [Mon, 14 Mar 2016 19:56:18 +0000 (12:56 -0700)]
Updated with NEW_PASS tests

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

8 years agoILAsm/ILDAsm packages
dotnet-bot [Mon, 14 Mar 2016 19:40:41 +0000 (12:40 -0700)]
ILAsm/ILDAsm packages

This creates packages for ILAsm/ILDAsm respectively.
These tools depend on CoreCLR, so they are tied together with the same version.
Note we use ProjectK build for packaging Windows binaries so these tools are basically desktop one while cross-platform binaries are from Github build as usual.
When CoreCLR packaging and publication are migrated to Github build, so will these tools.

[tfs-changeset: 1585183]

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

8 years agoARM64: Fix GC hole in indirect call site
Kyungwoo Lee [Mon, 14 Mar 2016 18:06:11 +0000 (11:06 -0700)]
ARM64: Fix GC hole in indirect call site

This fixes dotnetdotnet/coreclr#3663.
Indirect call (```br``` or ```blr```) target is encoded with a register
which the first operand internally represents.
Unfortunately, call sites use the first two operands to hold GC
callee-save registers.
So, this GC register information was overridden by the call target operand
in the indirect(virtual) call sites.
The fix is to use 3rd/4th operands instead of 1st/2nd operands to hold GC info.
Ideally we should use different field name and also ensure constness when
we set up the operand so that it's never written more than once.
https://github.com/dotnet/coreclr/issues/3693 is filed.

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

8 years agoFix UmAlQuraCalendar static data initilaization
Tarek Mahmoud Sayed [Mon, 14 Mar 2016 19:28:17 +0000 (12:28 -0700)]
Fix UmAlQuraCalendar static data initilaization

The current way of declaring the static data is cauing null reference exception
when the static constructor get called. the reason is the static initialization
method InitDateMapping is using the static array rawData which is not really
get initilaized yet when InitDateMapping execute.

The fix is moving rawData inside InitDateMapping.

https://github.com/dotnet/corefx/issues/6774#issuecomment-196044580

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

8 years agoMerge pull request dotnet/coreclr#3687 from kyulee1/fixzeroinit
Kyungwoo Lee [Mon, 14 Mar 2016 18:21:27 +0000 (11:21 -0700)]
Merge pull request dotnet/coreclr#3687 from kyulee1/fixzeroinit

ARM64: Fix ZeroInit of Locals

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

8 years agoExclude doublearray/* from GCStress runs
Russ Keldorph [Mon, 14 Mar 2016 18:09:49 +0000 (11:09 -0700)]
Exclude doublearray/* from GCStress runs

Doublearray tests are incompatible with GCStress.

Fixes dotnet/coreclr#2759

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

8 years agoARM64: Fix casting unsigned int to double
Kyungwoo Lee [Mon, 14 Mar 2016 17:12:34 +0000 (10:12 -0700)]
ARM64: Fix casting unsigned int to double

When casting unsigned int to double, JIT emitted ```scvtf``` instead of ```uscvtf```.
The issue was JIT used dst type instead of src type for checking the sign.
This fixes a part of https://github.com/dotnet/coreclr/issues/3667.

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

8 years agoMerge pull request dotnet/coreclr#3659 from RussKeldorph/stresstags
Russ Keldorph [Mon, 14 Mar 2016 16:41:36 +0000 (09:41 -0700)]
Merge pull request dotnet/coreclr#3659 from RussKeldorph/stresstags

Add test mode exclusions

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

8 years agoFix some JIT disassembly issues
Mike Danes [Fri, 4 Mar 2016 20:23:17 +0000 (22:23 +0200)]
Fix some JIT disassembly issues

1. (v)movsd operands were messed up in disassembly:
vmovsd   qword ptr [rsp+28H]ymm0, qword ptr
instead of
vmovsd   qword ptr [rsp+28H], ymm0

2. cvtxx2yy insructions had GPR names prefixed with x/y:
vcvtsi2ss ymm0, yrcx
vcvttss2si yrsi, ymm6

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

8 years agoARM64: Fix ZeroInit of Locals
Kyungwoo Lee [Sun, 13 Mar 2016 20:11:18 +0000 (13:11 -0700)]
ARM64: Fix ZeroInit of Locals

When zero-initializing locals, JIT emits wrong instruction sequence --
e.g, 28 byte zero-intialization as shown below.
The issue was JIT passed wrong arguments to emitIns_R_R_I.

Before (Fail)
```
 stp     xzr, xzr, [x2],dotnet/coreclr#16
 str     xzr, [x2,dotnet/coreclr#2]  --> just two byte offset (no x2 post-increment)
 str     wzr, [x2]
```

After (Pass)
```
 stp     xzr, xzr, [x2],dotnet/coreclr#16
 str     xzr, [x2],dotnet/coreclr#8
 str     wzr, [x2]
```

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

8 years agoMerge pull request dotnet/coreclr#3685 from jkotas/ifdefs
Jan Kotas [Sun, 13 Mar 2016 21:55:50 +0000 (14:55 -0700)]
Merge pull request dotnet/coreclr#3685 from jkotas/ifdefs

Fix ifdefs

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

8 years agoMerge pull request dotnet/coreclr#3662 from tarekgh/FixGetYearForJapaneseCalendar
Tarek Mahmoud Sayed [Sun, 13 Mar 2016 20:47:07 +0000 (13:47 -0700)]
Merge pull request dotnet/coreclr#3662 from tarekgh/FixGetYearForJapaneseCalendar

Fix calculating the calendar year in JapaneseLunisolarCalendar

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

8 years agoMerge pull request dotnet/coreclr#3673 from briansull/update-tests-lst
Kyungwoo Lee [Sun, 13 Mar 2016 20:10:06 +0000 (13:10 -0700)]
Merge pull request dotnet/coreclr#3673 from briansull/update-tests-lst

ARM64: Major Update for new tests to run using Smarty.exe

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

8 years agoRemove remaining strongname validation on Windows
Jan Kotas [Sun, 13 Mar 2016 19:09:22 +0000 (12:09 -0700)]
Remove remaining strongname validation on Windows

CodeCLR always skips strongname validation. Some code for strong name validation was still compiled for Windows, but not for Unix. This change removes the differences between Windows and Unix by never compiling the strong name validation code in.

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

8 years agoRemove incorrect use of FEATURE_LEGACYSURFACE ifdef
Jan Kotas [Sun, 13 Mar 2016 13:03:17 +0000 (06:03 -0700)]
Remove incorrect use of FEATURE_LEGACYSURFACE ifdef

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

8 years agoMerge pull request dotnet/coreclr#3683 from sergiy-k/runtestsfix1
Sergiy Kuryata [Sun, 13 Mar 2016 06:17:12 +0000 (22:17 -0800)]
Merge pull request dotnet/coreclr#3683 from sergiy-k/runtestsfix1

Exclude netcore50aot assemblies in runtests.sh

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

8 years agoAdd test mode exclusions
Russ Keldorph [Fri, 11 Mar 2016 00:34:47 +0000 (16:34 -0800)]
Add test mode exclusions

Add the ability to exclude individual tests that are incompatible with
certain test modes.  If a test is incompatible with or too slow under
GCStress, add

    <GCStressIncompatible>true</GCStressIncompatible>

as a property to the test's project file.  If a test requires optimization
or is sensitive to precise optimization patterns, use

    <JitOptimizationSensitive>true</JitOptimizationSensitive>

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

8 years agoExclude netcore50aot assemblies in runtests.sh
Sergiy Kuryata [Sun, 13 Mar 2016 03:47:48 +0000 (19:47 -0800)]
Exclude netcore50aot assemblies in runtests.sh

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

8 years agoMerge pull request dotnet/coreclr#3671 from brianrob/multicorejitthread
Jan Kotas [Sat, 12 Mar 2016 07:26:24 +0000 (23:26 -0800)]
Merge pull request dotnet/coreclr#3671 from brianrob/multicorejitthread

Use Default Stack Size for Multi-Core JIT Playback Thread

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

8 years agoMerge pull request dotnet/coreclr#3678 from sergiy-k/runtestsfix
Sergiy Kuryata [Sat, 12 Mar 2016 04:18:52 +0000 (20:18 -0800)]
Merge pull request dotnet/coreclr#3678 from sergiy-k/runtestsfix

Patch the runtests.sh script to work around an issue with corefx assemblies

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

8 years agoMerge pull request dotnet/coreclr#3674 from jkotas/tail-call
Jan Kotas [Sat, 12 Mar 2016 03:49:27 +0000 (19:49 -0800)]
Merge pull request dotnet/coreclr#3674 from jkotas/tail-call

Fallback to JIT for explicit tailcalls in R2R

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

8 years agoPatch the runtests.sh script to work around an issue with corefx assemblies
Sergiy Kuryata [Sat, 12 Mar 2016 02:17:15 +0000 (18:17 -0800)]
Patch the runtests.sh script to work around an issue with corefx assemblies

Change https://github.com/dotnet/corefx/pull/6779 in CoreFx added corert
assemblies to the mix of assemblies that are built for CoreCLR on Unix
which broke the logic in runtest.sh that creates an overlay for running
tests. This change creates a work around for the problem.

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

8 years agoMerge pull request dotnet/coreclr#3590 from jkotas/deadcode
Jan Kotas [Sat, 12 Mar 2016 00:39:41 +0000 (16:39 -0800)]
Merge pull request dotnet/coreclr#3590 from jkotas/deadcode

Delete dead code

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

8 years agoMerge pull request dotnet/coreclr#3631 from cmckinsey/DevDiv_199169
Chris McKinsey [Fri, 11 Mar 2016 23:46:56 +0000 (15:46 -0800)]
Merge pull request dotnet/coreclr#3631 from cmckinsey/DevDiv_199169

Fix bad codegen for initblk with large fill value

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

8 years agoMerge pull request dotnet/coreclr#3675 from mmitche/fix-names
Matt Mitchell [Fri, 11 Mar 2016 23:17:45 +0000 (15:17 -0800)]
Merge pull request dotnet/coreclr#3675 from mmitche/fix-names

Fix name on trigger

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

8 years agoFix name on trigger
Matt Mitchell [Fri, 11 Mar 2016 23:16:30 +0000 (15:16 -0800)]
Fix name on trigger

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

8 years agoFallback to JIT for explicit tailcalls in R2R
Jan Kotas [Fri, 11 Mar 2016 22:52:58 +0000 (14:52 -0800)]
Fallback to JIT for explicit tailcalls in R2R

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

8 years agoMajor Update for new tests
Brian Sullivan [Fri, 11 Mar 2016 22:27:25 +0000 (14:27 -0800)]
Major Update for new tests

Updated Tests.lst and preserved Categories tags
We can run all of the Pro, Pri1 tests
We currently run only the ones that were passing
from the previous Tests.lst file

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

8 years agoUsing StackString to improve memory consumption in Lttng EventProvider
DDCloud [Fri, 11 Mar 2016 03:39:22 +0000 (19:39 -0800)]
Using StackString to improve memory consumption in Lttng EventProvider

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

8 years agoMerge pull request dotnet/coreclr#3197 from mmitche/branchify
Matt Mitchell [Fri, 11 Mar 2016 21:14:34 +0000 (13:14 -0800)]
Merge pull request dotnet/coreclr#3197 from mmitche/branchify

[Do Not Merge] Move coreclr to branch model

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

8 years agoMerge pull request dotnet/coreclr#3658 from leemgs/upstream-doc-crossbuild
Jan Kotas [Fri, 11 Mar 2016 19:14:49 +0000 (11:14 -0800)]
Merge pull request dotnet/coreclr#3658 from leemgs/upstream-doc-crossbuild

Documentation: Remove the "patching Urcu" section

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

8 years agoFix calculating the calendar year in JapaneseLunisolarCalendar
Tarek Mahmoud Sayed [Fri, 11 Mar 2016 18:44:48 +0000 (10:44 -0800)]
Fix calculating the calendar year in JapaneseLunisolarCalendar

The months in this calendar is lunar months. We can have the case when a new era
starts in the middle of a month which means part of the month will belong to one
era and the rest will belong to the new era. When calculating the calendar year
number for dates which in the rest of the month and exist in the new started era,
we should still use the old era info instead of the new era info because
the rest of the month still belong to the year of last era.

Example of such date is Feb 2nd 1989. Using such date while the era starts
on Jan 8th 1989 make this date belong to that new era which it is part of
the month started with previous era. Using the new era info will have the year
we are calculating equal to the era offset (i.e. year = m_EraInfo[i].yearOffset)
and we’ll end returning zero for the year. The fix is to use the previous era
info to calculate the year

issue https://github.com/dotnet/corefx/issues/6775

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

8 years agoMerge pull request dotnet/coreclr#3645 from sejongoh/increase_gctest_time_out
Sejong Oh [Fri, 11 Mar 2016 19:04:24 +0000 (11:04 -0800)]
Merge pull request dotnet/coreclr#3645 from sejongoh/increase_gctest_time_out

Increase timeout and crond schedule for GC stress testing

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

8 years agoMove coreclr to branched CI model
Matt Mitchell [Fri, 11 Mar 2016 18:45:32 +0000 (10:45 -0800)]
Move coreclr to branched CI model

This moves coreclr to the branch-based CI model.  In this model, instead of having the CI generate jobs out of dotnet/coreclr's master branch for all branches (using all sorts of odd naming suffixes of course), the master CI lists tell the CI which branches it should look at for CI config info.  It passes the branch name to the netci file, which then can use it to tell the SCM to pull code from specific branches or set branch specific PR triggers.

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

8 years agoMerge pull request dotnet/coreclr#3653 from briansull/migrate-tags
Brian Sullivan [Fri, 11 Mar 2016 18:03:03 +0000 (10:03 -0800)]
Merge pull request dotnet/coreclr#3653 from briansull/migrate-tags

Add migrate-tags.py script for migrating Smarty tags

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

8 years agoMerge pull request dotnet/coreclr#3252 from mjp41/master
Sean Gillespie [Fri, 11 Mar 2016 17:57:38 +0000 (09:57 -0800)]
Merge pull request dotnet/coreclr#3252 from mjp41/master

Fixed parent pointers becoming corrupt in GC benchmark for Red/Black trees

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

8 years agoAdded Header and other Codereview feedback
Brian Sullivan [Fri, 11 Mar 2016 17:52:27 +0000 (09:52 -0800)]
Added Header and other Codereview feedback

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

8 years agoDocumentation: Remove Patching Urcu Section
Geunsik Lim [Fri, 11 Mar 2016 10:30:12 +0000 (19:30 +0900)]
Documentation: Remove Patching Urcu Section

Atomic function parameter types Urcu is already fixed.
We don't need any manual patching for the cross build.
Let's remove this section from now on.

Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
Signed-off-by: Prajwal A N an.prajwal@samsung.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com
Commit migrated from https://github.com/dotnet/coreclr/commit/f2e59cffc59bfc86f4812bb9fe54cfaae9e24f01

8 years agoa This is a combination of 2 commits.
Sejong Oh [Thu, 10 Mar 2016 23:57:09 +0000 (15:57 -0800)]
a This is a combination of 2 commits.

Increase timeout and crond schedule for GC stress testing

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

8 years agoMerge pull request dotnet/coreclr#3630 from sejongoh/pull_down_coredistool_windows
Sejong Oh [Fri, 11 Mar 2016 07:31:18 +0000 (23:31 -0800)]
Merge pull request dotnet/coreclr#3630 from sejongoh/pull_down_coredistool_windows

Pull down coredistool package on Windows

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

8 years agoUpdate Multi-Core JIT to use the default stack size for the JIT playback thread.
Brian Robbins [Fri, 11 Mar 2016 06:35:56 +0000 (22:35 -0800)]
Update Multi-Core JIT to use the default stack size for the JIT playback thread.

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

8 years agoAdd migrate-tags.py script for migrating Smarty tags
Brian Sullivan [Fri, 11 Mar 2016 03:31:35 +0000 (19:31 -0800)]
Add migrate-tags.py script for migrating Smarty tags
Also added a test case for the script

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

8 years agoFix bad codegen for initblk with large fill value
Chris McKinsey [Wed, 9 Mar 2016 23:03:48 +0000 (15:03 -0800)]
Fix bad codegen for initblk with large fill value

When the initialization value of an init block is constant we attempt to
generate an inline expansion sequences to execute the stores. In order to
generate wider stores the constant value is expanded so that each byte
position holds the initial byte value. In some cases the constant on the
initblk may be a value not in the range of 0..255 and this constant
expansion will generate the wrong value. This change fixes the x64, x86,
and arm64 (comment only) expanses to use only the lower byte value of this
constant. The ARM32 backend already does this, and the other JIT32/JIT64
JITs shipping in Desktop also do this correctly.

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

8 years agoEnabling standalone builds for Test Project of any Priority
Rama Krishnan Raghupathy [Thu, 10 Mar 2016 23:45:22 +0000 (15:45 -0800)]
Enabling standalone builds for Test Project of any Priority

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

8 years agoMerge pull request dotnet/coreclr#3647 from dagood/fix-pri1-test-dependencies
Sergiy Kuryata [Fri, 11 Mar 2016 02:02:04 +0000 (18:02 -0800)]
Merge pull request dotnet/coreclr#3647 from dagood/fix-pri1-test-dependencies

Fix priority 1 tests: add missing dependencies

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

8 years agoMerge pull request dotnet/coreclr#3632 from AndyAyersMS/InlineRefactorMoveProfitability
Andy Ayers [Fri, 11 Mar 2016 02:01:36 +0000 (18:01 -0800)]
Merge pull request dotnet/coreclr#3632 from AndyAyersMS/InlineRefactorMoveProfitability

Inline refactoring: move profitability assessment to LegacyPolicy

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

8 years agoMerge pull request dotnet/coreclr#3652 from rahku/EHTestPort
Rahul Kumar [Fri, 11 Mar 2016 01:55:27 +0000 (17:55 -0800)]
Merge pull request dotnet/coreclr#3652 from rahku/EHTestPort

exclude test baseservices\exceptions\regressions\Dev11\147911

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

8 years agoexclude test baseservices\exceptions\regressions\Dev11\147911
Rahul Kumar [Fri, 11 Mar 2016 01:03:11 +0000 (17:03 -0800)]
exclude test baseservices\exceptions\regressions\Dev11\147911

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

8 years agoMerge pull request dotnet/coreclr#3644 from JohnChen0/master
John Chen [Fri, 11 Mar 2016 00:42:28 +0000 (16:42 -0800)]
Merge pull request dotnet/coreclr#3644 from JohnChen0/master

Fix a GC hole in a Ready-to-Run helper

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

8 years agoAdd new dependencies to tests where package upgrade moved types.
Davis Goodin [Fri, 11 Mar 2016 00:04:53 +0000 (18:04 -0600)]
Add new dependencies to tests where package upgrade moved types.

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

8 years agoMerge pull request dotnet/coreclr#3641 from erozenfeld/GetCORSystemDirectoryInternaLFix
Eugene Rozenfeld [Thu, 10 Mar 2016 23:19:24 +0000 (15:19 -0800)]
Merge pull request dotnet/coreclr#3641 from erozenfeld/GetCORSystemDirectoryInternaLFix

Fix for a bug in GetCORSystemDirectoryInternaL

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

8 years agoPull down coredistool package on Windows
Sejong Oh [Wed, 9 Mar 2016 02:11:57 +0000 (18:11 -0800)]
Pull down coredistool package on Windows

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

8 years agoMerge pull request dotnet/coreclr#3640 from rahku/EHTestPort
Rahul Kumar [Thu, 10 Mar 2016 23:05:34 +0000 (15:05 -0800)]
Merge pull request dotnet/coreclr#3640 from rahku/EHTestPort

Fix arm64 build break

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

8 years agoFix a GC hole in a Ready-to-Run helper
John Chen (CLR) [Thu, 10 Mar 2016 23:04:44 +0000 (15:04 -0800)]
Fix a GC hole in a Ready-to-Run helper

Assembly routines DelayLoad_Helper* were putting an argument at a
wrong location on the stack. This resulted in a GC hole that caused
random crashes, such as dotnet/clidotnet/coreclr#1785 and dotnet/roslyndotnet/coreclr#9632.

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

8 years agoMerge pull request dotnet/coreclr#3603 from bendono/doc
Aditya Mandaleeka [Thu, 10 Mar 2016 22:29:43 +0000 (14:29 -0800)]
Merge pull request dotnet/coreclr#3603 from bendono/doc

Fix spelling and grammar.

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

8 years agoFix for a bug in GetCORSystemDirectoryInternaL
Eugene Rozenfeld [Thu, 10 Mar 2016 21:05:23 +0000 (13:05 -0800)]
Fix for a bug in GetCORSystemDirectoryInternaL

Change dotnet/coreclr@7045ca7a6de381b382a709dc0a61f49ca713d160 introduced a bug in
GetCORSystemDirectoryInternaL. The second parameter of GetRuntimeDirectory
is in/out so passing a pointer to an uninitialized cchBuffer was wrong.
The fix is to initialize cchBuffer to MAX_PATH - 1.

This was causing failures in some non CoreClr ngen scenarios.

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

8 years agoAddressing code review feedback.
Matthew Parkinson [Thu, 10 Mar 2016 20:37:41 +0000 (20:37 +0000)]
Addressing code review feedback.

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

8 years agoMerge pull request dotnet/coreclr#3639 from svick/patch-1
Jan Vorlicek [Thu, 10 Mar 2016 20:32:38 +0000 (21:32 +0100)]
Merge pull request dotnet/coreclr#3639 from svick/patch-1

Remove incorrect escaping in example in BOTR

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

8 years agoFix arm64 build break
Rahul Kumar [Thu, 10 Mar 2016 19:55:30 +0000 (11:55 -0800)]
Fix arm64 build break

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

8 years agoMerge pull request dotnet/coreclr#3638 from sejongoh/quick_path_fix_for_init_tool_sh
Sejong Oh [Thu, 10 Mar 2016 19:08:15 +0000 (11:08 -0800)]
Merge pull request dotnet/coreclr#3638 from sejongoh/quick_path_fix_for_init_tool_sh

Fix shell command to execute init-tool.sh on CI

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

8 years agoRemove incorrect escaping in example in BOTR
Petr Onderka [Thu, 10 Mar 2016 18:32:25 +0000 (19:32 +0100)]
Remove incorrect escaping in example in BOTR

The example was casting to `ArrayMethodDesc\*` (note the backslash, possibly there to avoid italics formatting in some previous version?), which doesn't make sense. Now it casts to `ArrayMethodDesc*`.

Also, since I'm already changing this snippet, enable syntax highlighting as C++ for it.

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

8 years agoMerge pull request dotnet/coreclr#3589 from dagood/test-dependency-validation
Davis Goodin [Thu, 10 Mar 2016 18:13:45 +0000 (12:13 -0600)]
Merge pull request dotnet/coreclr#3589 from dagood/test-dependency-validation

Add dependency validation/tooled-upgrade and make dependencies valid under new rules

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

8 years agoFix shell command to execute init-tool.sh on CI
Sejong Oh [Thu, 10 Mar 2016 17:39:10 +0000 (09:39 -0800)]
Fix shell command to execute init-tool.sh on CI

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

8 years agoFix the centralized GC test project.jsons and other new project.jsons from merge.
Davis Goodin [Thu, 10 Mar 2016 15:28:41 +0000 (09:28 -0600)]
Fix the centralized GC test project.jsons and other new project.jsons from merge.

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

8 years agoUpgrade new test project.json files from merge.
Davis Goodin [Wed, 9 Mar 2016 22:45:07 +0000 (16:45 -0600)]
Upgrade new test project.json files from merge.

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