platform/upstream/coreclr.git
7 years agoMerge pull request #10023 from parjong/fix/clr_abi
Bruce Forstall [Tue, 14 Mar 2017 23:07:35 +0000 (16:07 -0700)]
Merge pull request #10023 from parjong/fix/clr_abi

Update CLR ABI PSPSym Section

7 years agoMerge pull request #10171 from pgavlin/TestWrapperTimeouts
Pat Gavlin [Tue, 14 Mar 2017 21:12:56 +0000 (14:12 -0700)]
Merge pull request #10171 from pgavlin/TestWrapperTimeouts

Do not wait on std{out,err} when a test times out.

7 years agoMerge pull request #10176 from wtgodbe/BuildToolsAgain
William Godbe [Tue, 14 Mar 2017 20:49:08 +0000 (13:49 -0700)]
Merge pull request #10176 from wtgodbe/BuildToolsAgain

Update Buildtools Version

7 years agoMerge pull request #10175 from wtgodbe/NonWindowsTargetingPack
William Godbe [Tue, 14 Mar 2017 20:48:46 +0000 (13:48 -0700)]
Merge pull request #10175 from wtgodbe/NonWindowsTargetingPack

Copy Targeting Pack files into Core_Root for Non-Windows

7 years agoFix tz rules (#10169)
Tarek Mahmoud Sayed [Tue, 14 Mar 2017 19:12:04 +0000 (12:12 -0700)]
Fix tz rules (#10169)

* Fix the TZ Rule data on Linux

On Linux when the caller ask for the TZ adjustment rules we convert the internal stored rule data from UTC to local time. we used to TZI.Convert which is wrong because calculating the start the daylight start time should always not include the daylight delta because we didn't start the daylight saving yet. and calculating the end of daylight should always include the daylight delta because we were in the daylight saving period.

The fix here is manually calculating the start and end of the daylight saving inside the rule

* Revert the comment change

* Add a comment

7 years agoUpdate Buildtools Version
wtgodbe [Tue, 14 Mar 2017 19:10:29 +0000 (12:10 -0700)]
Update Buildtools Version

7 years agoCopy Targeting Pack files into Core_Root for Non-Windows
wtgodbe [Tue, 14 Mar 2017 19:01:57 +0000 (12:01 -0700)]
Copy Targeting Pack files into Core_Root for Non-Windows

7 years agoDo not wait on std{out,err} when a test times out.
Pat Gavlin [Tue, 14 Mar 2017 17:05:26 +0000 (10:05 -0700)]
Do not wait on std{out,err} when a test times out.

The test wrapper currently waits on each of the process, stdout copy,
and stderr copy in turn. This makes it difficult to determine whether
or not the test did in fact time out, as the time in which it may
write to its output streams is effectively twice or thrice the
time used to determine success or failure (i.e. the process wait
timeout). This can cause situations like what we've seen in #10076,
where the harness reports that the process timed out but the test's
output indicates a successful run.

This change only waits on stdout/stderr if the process completes within
the time allotted; otherwise it cancels the copies and promptly reports
the timeout.

7 years agoMerge pull request #10147 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 14 Mar 2017 04:56:44 +0000 (21:56 -0700)]
Merge pull request #10147 from dotnet-bot/master-UpdateDependencies

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

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

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

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

* optimize Span.Clear() by using initblk

7 years agoUpdate CoreClr, CoreFx to beta-25113-03, beta-25114-01, respectively
dotnet-bot [Tue, 14 Mar 2017 02:18:16 +0000 (02:18 +0000)]
Update CoreClr, CoreFx to beta-25113-03, beta-25114-01, respectively

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

Add documentation on RyuJIT call morphing

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

Remove STRESS_THREAD

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

Replace HNDTYPE defines with enum

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

7 years agoImprove LIR dumping (#10140)
Bruce Forstall [Tue, 14 Mar 2017 01:33:06 +0000 (18:33 -0700)]
Improve LIR dumping (#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 #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.

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

Pick up new CoreFX packages and abandon old ones

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

Breaks debugger tests.

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

It is useful to see when these are changing.

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

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

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

Support for IBC profiling for ReadyToRun images

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.

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

7 years agoBuild Linux altjit for x86 and amd64 (#10120)
Bruce Forstall [Mon, 13 Mar 2017 23:32:15 +0000 (16:32 -0700)]
Build Linux altjit for x86 and amd64 (#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.

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

Move adjustments to genStackLevel into functions

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

Re-insert Supplemental Payload into Helix payload

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

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

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

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

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

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

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

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

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

Crossgen all assemblies for throughput perf

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

[Ryujit/ARM32] Fix wrong comparion

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

Update arm64 exclusions

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

Update CoreClr to beta-25113-01 (master)

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`

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

Fix AssertionDsc::Equals OAK_NO_THROW's handling

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

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

7 years agoUse VSD_STUB_CAN_THROW_AV instead of explicit _TARGET_XXX_ (#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_ (#10143)

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 (#10136)

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

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

Fix typo in Compiler::gtHasRef()

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

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()

7 years agoRemove dead code (#10128)
Bruce Forstall [Mon, 13 Mar 2017 00:58:08 +0000 (17:58 -0700)]
Remove dead code (#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.

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.

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

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

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

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

Update CoreClr to beta-25111-03 (master)

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

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.

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

Strip internal frame in Environment.StackTrace

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

Fix delayed expansion scripting error in runtest.cmd

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

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

Fixes #8683

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 #6209

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

Exclude R2R and GCStress 3 failures.

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/corefx#16566

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

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

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

[RyuJIT/ARM32] GT_STORE_BLK/GT_STORE_DYN_BLK support in codegen

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

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

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

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

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

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)

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

Issue #9730

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

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

7 years ago[x86/Linux][GDB-JIT] Fix crash after changing default calling convention in PR #9977...
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 #9977 (#10087)

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.

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.

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

[Linux/x86] Enable CI Linux/x86 build

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

Add linux throughput testing support

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

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

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>
7 years agoMove more types into the shared partition. (#10068)
Atsushi Kanamori [Fri, 10 Mar 2017 03:20:12 +0000 (19:20 -0800)]
Move more types into the shared partition. (#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.)

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.

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

Calculate last uses while building intervals.

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 #10022.

7 years agoFix incremental build of resources injected to coreclr.dll (#10045)
Jan Vorlicek [Thu, 9 Mar 2017 22:28:24 +0000 (23:28 +0100)]
Fix incremental build of resources injected to coreclr.dll (#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.

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

* Support Zesty, newer liblldb packages

* Describe lldb options

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

Ignore binder context for corelib when performing binding cache lookup

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

Improve span copy of pointers and structs containing pointers

Fixes #9161

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

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

Update CoreClr to beta-25109-03 (master)

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.

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

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

7 years agoMerge pull request #10055 from tannergooding/vs2017
Gaurav Khanna [Thu, 9 Mar 2017 17:27:09 +0000 (09:27 -0800)]
Merge pull request #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.

7 years ago[Ryujit/ARM32] Support binary operator for decomposed long (#9978)
Hyung-Kyu Choi [Thu, 9 Mar 2017 17:10:21 +0000 (02:10 +0900)]
[Ryujit/ARM32] Support binary operator for decomposed long (#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>
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.

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

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

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

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

7 years agoMove System.Security attributes to shared partition. (#10036)
Atsushi Kanamori [Thu, 9 Mar 2017 14:44:26 +0000 (06:44 -0800)]
Move System.Security attributes to shared partition. (#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.

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.

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

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

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

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

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

Updating the build scripts to support VS2017.