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

Fix for a bug in GetCORSystemDirectoryInternaL

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

Fix arm64 build break

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

Fix spelling and grammar.

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

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

Remove incorrect escaping in example in BOTR

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

8 years agoMerge pull request #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 #3638 from sejongoh/quick_path_fix_for_init_tool_sh

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

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.

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

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

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

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.

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.

8 years agoAdd documentation for dependency validation.
Davis Goodin [Tue, 8 Mar 2016 17:52:24 +0000 (11:52 -0600)]
Add documentation for dependency validation.

8 years agoAdd System.Threading.Thread to tests to restore missing types.
Davis Goodin [Thu, 3 Mar 2016 23:18:51 +0000 (17:18 -0600)]
Add System.Threading.Thread to tests to restore missing types.

Upgrade System.Runtime dependency for JIT tests to get GCHandle.

Change system.runtime 4.0.20 to 4.1.0 rc2 dependency to try to copy the runtimes to CORE_ROOT.

Fix new project.json files.

Fix hardcoded Microsoft.DotNet.xunit.performance version.

Upgrade System.Runtime.InteropServices to prerelease level to avoid type conflicts with System.Runtime.

8 years agoUpdate dependencies on packages that don't exist.
Davis Goodin [Thu, 3 Mar 2016 22:30:38 +0000 (16:30 -0600)]
Update dependencies on packages that don't exist.

First checks to see if a stable version of that dependency was restored, and if not, found the stable.minor.patch version with the prerelease spec of the dependency.

8 years agoAdd working validation rules for xunit packages and apply them.
Davis Goodin [Thu, 3 Mar 2016 21:41:17 +0000 (15:41 -0600)]
Add working validation rules for xunit packages and apply them.

8 years agoRemove potentially unused System.Numerics.Vectors.WindowsRuntime reference and spare...
Davis Goodin [Thu, 3 Mar 2016 21:28:52 +0000 (15:28 -0600)]
Remove potentially unused System.Numerics.Vectors.WindowsRuntime reference and spare WindowsRuntime.

8 years agoUpdate all versions to validate.
Davis Goodin [Thu, 3 Mar 2016 21:05:15 +0000 (15:05 -0600)]
Update all versions to validate.

8 years agoAdd validation to test build.
Davis Goodin [Thu, 3 Mar 2016 01:31:29 +0000 (19:31 -0600)]
Add validation to test build.

Don't validate generated files, and make the xunit.runner.msbuild workaround only apply to that specific package.

8 years agoMerge pull request #3629 from leemgs/upstream-crossbuild2
Jan Kotas [Thu, 10 Mar 2016 15:01:30 +0000 (07:01 -0800)]
Merge pull request #3629 from leemgs/upstream-crossbuild2

Add comment about disabling crossgen command for cross build

8 years agoMerge pull request #3394 from swgillespie/gctests
Sean Gillespie [Thu, 10 Mar 2016 02:57:22 +0000 (18:57 -0800)]
Merge pull request #3394 from swgillespie/gctests

Initial bringup of new set of ported GC tests.

8 years agoMerge pull request #3489 from rahku/EHTestPort
Rahul Kumar [Thu, 10 Mar 2016 01:52:13 +0000 (17:52 -0800)]
Merge pull request #3489 from rahku/EHTestPort

Port EH tests.

8 years agoPort EH tests.
Rahul Kumar [Wed, 2 Mar 2016 22:36:15 +0000 (14:36 -0800)]
Port EH tests.

8 years agoRemove unnecessary expressions.
Geunsik Lim [Thu, 10 Mar 2016 01:46:23 +0000 (10:46 +0900)]
Remove unnecessary expressions.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
8 years agoInitial bringup of new set of ported GC tests.
Sean Gillespie [Fri, 26 Feb 2016 22:56:07 +0000 (14:56 -0800)]
Initial bringup of new set of ported GC tests.

8 years agoMerge pull request #3598 from joperezr/DisableOpenSourceSign
Jose Perez Rodriguez [Thu, 10 Mar 2016 01:23:12 +0000 (17:23 -0800)]
Merge pull request #3598 from joperezr/DisableOpenSourceSign

Disable OpenSourceSign and update BuildTools

8 years agoDisable OpenSourceSign and update Build Tools
Jose Perez Rodriguez [Wed, 9 Mar 2016 00:51:35 +0000 (16:51 -0800)]
Disable OpenSourceSign and update Build Tools

8 years agoAdd comment about disabling crossgen command for cross build
Geunsik Lim [Thu, 10 Mar 2016 00:56:27 +0000 (09:56 +0900)]
Add comment about disabling crossgen command for cross build

As we all know, the current cross build generates exectuable
'crossgen' with arm architecture (without x86 architecture).
So, it can not be run to make mscorlib.ni.dll from mscorlib.dll
on X86-based build machine.
Let's add a comment why we have to skip crossgen command in
build_mscorlib() of build.sh in case of cross build for Linux/ARM.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
8 years agoMerge pull request #3599 from ramarag/arm64nativetests
Rama krishnan Raghupathy [Thu, 10 Mar 2016 00:38:45 +0000 (16:38 -0800)]
Merge pull request #3599 from ramarag/arm64nativetests

Enable native test binaries to be built for Arm64

8 years agoMerge pull request #3626 from AndyAyersMS/InlineRefactorFixNames
Andy Ayers [Wed, 9 Mar 2016 23:57:20 +0000 (15:57 -0800)]
Merge pull request #3626 from AndyAyersMS/InlineRefactorFixNames

Fix various naming convention issues in inliner code

8 years agoMerge pull request #3624 from adityamandaleeka/remove_threadstatic_duplicates
Aditya Mandaleeka [Wed, 9 Mar 2016 22:57:00 +0000 (14:57 -0800)]
Merge pull request #3624 from adityamandaleeka/remove_threadstatic_duplicates

Remove duplicate ThreadStatic tests

8 years agoMerge pull request #3625 from pgavlin/SupportPackageVersion
Pat Gavlin [Wed, 9 Mar 2016 22:32:39 +0000 (14:32 -0800)]
Merge pull request #3625 from pgavlin/SupportPackageVersion

Accept a build number arg in BuildRyuJitPackage.

8 years agoEnable native test binaries to be built for Arm64
Rama Krishnan Raghupathy [Wed, 9 Mar 2016 02:26:13 +0000 (18:26 -0800)]
Enable native test binaries to be built for Arm64

8 years agoFix various naming convention issues in inliner code
Andy Ayers [Wed, 9 Mar 2016 19:47:42 +0000 (11:47 -0800)]
Fix various naming convention issues in inliner code

Per the jit coding conventions, rename all class member functions to be
CamelCase. Rename all class data members to begin with `m_`.

8 years agoMerge pull request #3562 from tijoytom/master
tijoytom [Wed, 9 Mar 2016 21:45:14 +0000 (13:45 -0800)]
Merge pull request #3562 from tijoytom/master

Improve interop test coverage.

8 years agoAccept a build number arg in BuildRyuJitPackage.
Pat Gavlin [Wed, 9 Mar 2016 21:13:02 +0000 (13:13 -0800)]
Accept a build number arg in BuildRyuJitPackage.

8 years agoMerge pull request #3602 from AndyAyersMS/InlineRefactorNativeSize
Andy Ayers [Wed, 9 Mar 2016 20:52:52 +0000 (12:52 -0800)]
Merge pull request #3602 from AndyAyersMS/InlineRefactorNativeSize

Inline refactoring: move native callsite estimator

8 years agoRemove duplicate ThreadStatic tests.
Aditya Mandaleeka [Wed, 9 Mar 2016 20:17:19 +0000 (12:17 -0800)]
Remove duplicate ThreadStatic tests.

8 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
tijoytom [Wed, 9 Mar 2016 19:14:09 +0000 (11:14 -0800)]
Merge branch 'master' of https://github.com/dotnet/coreclr

8 years agoInline refactoring: move native callsite estimator
Andy Ayers [Tue, 8 Mar 2016 23:13:56 +0000 (15:13 -0800)]
Inline refactoring: move native callsite estimator

Move the native call site estimation logic into `LegacyPolicy`. Rework
the remaining per-callsite bonus multipliers so that they fit into the
observation framework. Remove `hasNativeSizeEstimate` and instead
check that the inline is a candidate and its observation is a
discretionary inline. Fix header comment in `fgFindJumpTargets`.

8 years agoskip ci please
tijoytom [Wed, 9 Mar 2016 18:07:18 +0000 (10:07 -0800)]
skip ci please
Disable test for legacy backend

8 years agoMerge pull request #3567 from mikem8361/dbgshimcp
Mike McLaughlin [Wed, 9 Mar 2016 17:48:29 +0000 (09:48 -0800)]
Merge pull request #3567 from mikem8361/dbgshimcp

Add process launch APIs to dbgshim

8 years agoMerge pull request #3621 from kyulee1/arm64
Matt Mitchell [Wed, 9 Mar 2016 16:26:38 +0000 (08:26 -0800)]
Merge pull request #3621 from kyulee1/arm64

Add folks to private run

8 years agoAdd folks to private run
Kyungwoo Lee [Wed, 9 Mar 2016 15:04:36 +0000 (07:04 -0800)]
Add folks to private run

8 years agoMerge pull request #3595 from janvorli/fix-stack-walk-with-finally
Jan Vorlicek [Wed, 9 Mar 2016 10:20:37 +0000 (11:20 +0100)]
Merge pull request #3595 from janvorli/fix-stack-walk-with-finally

Fix stack walking on Unix in case of finally

8 years agoMerge pull request #3558 from sejongoh/fix_gc_stress_setup_fail
Sejong Oh [Wed, 9 Mar 2016 07:16:03 +0000 (23:16 -0800)]
Merge pull request #3558 from sejongoh/fix_gc_stress_setup_fail

Fix GC stress setup failure on Unix-like OSes

8 years agoFix spelling and grammar.
Ben Monroe [Wed, 9 Mar 2016 02:28:46 +0000 (11:28 +0900)]
Fix spelling and grammar.

8 years agoAdded CreateProcessForLaunch, ResumeProcess and CloseResumeHandle that can
Mike McLaughlin [Sat, 5 Mar 2016 01:19:20 +0000 (17:19 -0800)]
Added CreateProcessForLaunch, ResumeProcess and CloseResumeHandle that can
be better supported cross-plat.

8 years agoMerge pull request #3574 from AndyAyersMS/InlineRefactorMoveStateMachineMerge
Andy Ayers [Wed, 9 Mar 2016 02:02:56 +0000 (18:02 -0800)]
Merge pull request #3574 from AndyAyersMS/InlineRefactorMoveStateMachineMerge

Inline refactoring: move state machine into LegacyPolicy

8 years agoMerge pull request #3588 from janvorli/fix-exception-in-finalizer
Jan Vorlicek [Wed, 9 Mar 2016 01:49:14 +0000 (02:49 +0100)]
Merge pull request #3588 from janvorli/fix-exception-in-finalizer

Fix Unix exception handling in finalizers

8 years agoMerge pull request #3478 from kyulee1/var
Kyungwoo Lee [Wed, 9 Mar 2016 01:20:58 +0000 (17:20 -0800)]
Merge pull request #3478 from kyulee1/var

Fix for asserting var addr on stack

8 years agoMerge pull request #3575 from stephentoub/argexception_names
Stephen Toub [Wed, 9 Mar 2016 00:03:14 +0000 (19:03 -0500)]
Merge pull request #3575 from stephentoub/argexception_names

Add missing parameter name to GetEra ArgumentOutOfRangeException

8 years agoMerge pull request #3594 from pgavlin/GcInfoEncoderCleanup
Pat Gavlin [Tue, 8 Mar 2016 23:37:06 +0000 (15:37 -0800)]
Merge pull request #3594 from pgavlin/GcInfoEncoderCleanup

Move some definitions out of gcinfoencoder.h.

8 years agoMove some definitions out of gcinfoencoder.h.
Pat Gavlin [Tue, 8 Mar 2016 21:42:39 +0000 (13:42 -0800)]
Move some definitions out of gcinfoencoder.h.

There are a number of macros, method bodies, and type definitions that
do not need to be in gcinfoencoder.h. Instead, these definitions have
been moved into gcinfoencoder.cpp.

8 years agoMerge pull request #3587 from pgavlin/UseListInLSRA
Pat Gavlin [Tue, 8 Mar 2016 21:42:13 +0000 (13:42 -0800)]
Merge pull request #3587 from pgavlin/UseListInLSRA

Use jitstd::list in the LSRA.

8 years agoFix stack walking on Unix in case of finally
Jan Vorlicek [Mon, 7 Mar 2016 22:17:10 +0000 (23:17 +0100)]
Fix stack walking on Unix in case of finally

The issue is that the code in the StackFrameIterator::Filter that handles cases
when a funclet frame that was already removed from the stack due to native frames
unwinding works for catch funclets only and not for finally ones.
The ExceptionTracker::GetCallerOfActualHandlingFrame is set for catch funclets
only. To make it work for the finally funclets as well, we need to use information
from the ExceptionTracker::m_EnclosingClauseInfoForGCReporting instead.

There was also another problem in the Filter method that caused the function to
spin in an infinite loop when a parent of a funclet was also a funclet. In
such case, the code in the method rechecks the current frame but the special
functionality to check the exception trackers data needs to be skipped for
the recheck.

And finally, when we find that the current frame was a parent of an unwound
funclet from the evidence in the exception trackers, we also need to set
the fSkippingFunclet.

8 years agoMerge pull request #3592 from AndyAyersMS/FixAssert
Andy Ayers [Tue, 8 Mar 2016 21:00:23 +0000 (13:00 -0800)]
Merge pull request #3592 from AndyAyersMS/FixAssert

Inliner: fix assert about repeated failing observations

8 years agoDisable tests failing on Linux
tijoytom [Tue, 8 Mar 2016 20:38:42 +0000 (12:38 -0800)]
Disable tests failing on Linux

8 years agoUse jitstd::list in the LSRA.
Pat Gavlin [Tue, 8 Mar 2016 16:48:42 +0000 (08:48 -0800)]
Use jitstd::list in the LSRA.

This removes the only usage of ArrayList in the JIT.

8 years agoMerge pull request #3469 from wtgodbe/raceCond
William Godbe [Tue, 8 Mar 2016 19:46:36 +0000 (11:46 -0800)]
Merge pull request #3469 from wtgodbe/raceCond

Fix race condition in Pri 2 tests, and revert those tests to Pri 1

8 years agoInliner: fix assert about repeated failing observations
Andy Ayers [Tue, 8 Mar 2016 18:35:30 +0000 (10:35 -0800)]
Inliner: fix assert about repeated failing observations

When an inlining attempt is going to fail, the jit aims to bail out of
the attempt as quickly as possible, since any further work on this
inline will just waste time and memory. The jit monitors this in part
by asserting that it only makes one failing observation.

However, there are as few places where failing fast during inlining is
not currently possible, and repeated failing observations may occur.

This change loosens the assertion check to allow repeated
`CALLSITE_TOO_MANY_LOCALS` observations. This observation is made
at a fairly deep stack in `lvaGrabTemp` with no easy route to bail
out in case of imminent failure.

Closes #3586.

8 years agoMerge pull request #3555 from LLITCHEV/Issue3540
Lubomir Litchev [Tue, 8 Mar 2016 18:47:52 +0000 (10:47 -0800)]
Merge pull request #3555 from LLITCHEV/Issue3540

Remove the the RBM_LOWINT define. Change the LsraLimitSmallIntSet to have a better representation of callee saved
Unrelated failure in Ubuntu x64 Checked Build and Test.

8 years agoFix GC stress setup failure on Unix-like OSes
Sejong Oh [Mon, 7 Mar 2016 22:28:07 +0000 (14:28 -0800)]
Fix GC stress setup failure on Unix-like OSes

8 years agoMerge pull request #3573 from vcsjones/fix-3566
Jan Kotas [Tue, 8 Mar 2016 18:13:11 +0000 (10:13 -0800)]
Merge pull request #3573 from vcsjones/fix-3566

Fix failing test in IntPtrGetHashCode.

8 years agoMerge pull request #3577 from gkhanna79/FixUbuntu15
Gaurav Khanna [Tue, 8 Mar 2016 17:19:49 +0000 (09:19 -0800)]
Merge pull request #3577 from gkhanna79/FixUbuntu15

Fix Ubuntu 15.10 Build break

8 years agoFix Unix exception handling in finalizers
Jan Vorlicek [Mon, 7 Mar 2016 22:09:45 +0000 (23:09 +0100)]
Fix Unix exception handling in finalizers

When unhandled exception happens in a finalizer thread and there are
no managed frames till the bottom of the stack,
the Thread::VirtualUnwindToFirstManagedCallFrame then fails fast.
The fix is to make the Thread::VirtualUnwindToFirstManagedCallFrame to
return even in case no managed frame is called, which is indicated by
its returning 0 as the resulting IP address. The DispatchManagedException
then checks that and rethrows the exception instead of trying to call
UnwindManagedExceptionPass1.
I have also added INSTALL_UNHANDLED_MANAGED_EXCEPTION_TRAP to the
FinalizerThread::FinalizerThreadStart so that the unhandled exception
doesn't escape the stack.
And I also needed to modify the UNINSTALL_UNHANDLED_MANAGED_EXCEPTION_TRAP
to detect case when the unhandled exception filter was already executed so
that it doesn't double-report the unhandled exception.

8 years agoFix for casting byref to double in morph
Kyungwoo Lee [Fri, 4 Mar 2016 21:18:08 +0000 (13:18 -0800)]
Fix for casting byref to double in morph

This fixes https://github.com/dotnet/coreclr/issues/3517.
JIT didn't cast byref to double in morph, which caused
this assertion later.
The fix is to handle such case as well.

8 years agoMerge pull request #3548 from kyulee1/fixgc
Kyungwoo Lee [Tue, 8 Mar 2016 14:14:53 +0000 (06:14 -0800)]
Merge pull request #3548 from kyulee1/fixgc

ARM64: Fix for handling GC register for call site

8 years agoMerge pull request #3568 from dotnet-bot/from-tfs
Jan Kotas [Tue, 8 Mar 2016 09:59:40 +0000 (01:59 -0800)]
Merge pull request #3568 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #3576 from leemgs/upstream-crossbuild
Jan Kotas [Tue, 8 Mar 2016 09:58:05 +0000 (01:58 -0800)]
Merge pull request #3576 from leemgs/upstream-crossbuild

ARM: skip generating native image for mscorlib in case of cross build

8 years agoFix Ubuntu 15.10 Build break
Gaurav Khanna [Tue, 8 Mar 2016 05:22:03 +0000 (21:22 -0800)]
Fix Ubuntu 15.10 Build break

8 years agoARM: skip generating native image for mscorlib in case of cross build
Geunsik Lim [Tue, 8 Mar 2016 04:30:21 +0000 (13:30 +0900)]
ARM: skip generating native image for mscorlib in case of cross build

We need to skip generating native image for mscorlib in build_mscorlib()
of ./coreclr/build.sh when we do cross build for Linux/ARM on Ubuntu
14.04 x86 64bit PC.

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
8 years agoAdd missing parameter name to GetEra ArgumentOutOFRangeException
stephentoub [Tue, 8 Mar 2016 04:03:54 +0000 (23:03 -0500)]
Add missing parameter name to GetEra ArgumentOutOFRangeException

The exception's parameter name is incorrectly getting set to the intended message ("Time value was out of era range.").

8 years agoInline refactoring: move state machine into LegacyPolicy
Andy Ayers [Fri, 4 Mar 2016 22:16:58 +0000 (14:16 -0800)]
Inline refactoring: move state machine into LegacyPolicy

The state machine used to estimate callee native code size is now an
internal part of the LegacyPolicy.

During `fgFindJumpTargets` the policy determines if the state machine
is need, and if so, sets one up. `fgFindJumpTargets` then notifies the
policy of the various opcodes in the method, and the policy uses this
to drive the state machine forward.

When the IL scan is completed, the `fgFindJumpTargets` notifies the
policy, then, for the discretionary inline case, grabs the native size
estimate, and uses that to evaluate inlinability.

The knowledge of when inlines are "always", "forced", or
"discretionary" is now encapsulated by the policy instead of being
distributed in various places in the code.

8 years agoRemove the RBM_LOWINT define. Change LsraLimitSmallIntSet to have a better representa...
Lubomir Litchev [Mon, 7 Mar 2016 21:13:38 +0000 (13:13 -0800)]
Remove the RBM_LOWINT define. Change LsraLimitSmallIntSet to have a better representation of callee saved
register for stress mode testing on System V OSs.

Remove the RBM_LOWINT define and change the LsraLimitSmallIntSet register
mask for System V OSs to provide a good
ratio between caller and calles saved register for the purposes of stress
testing.

Fixes issue #3540.

8 years agoMerge pull request #3564 from jashook/x86_lb_excludes
Jarret Shook [Tue, 8 Mar 2016 02:14:00 +0000 (18:14 -0800)]
Merge pull request #3564 from jashook/x86_lb_excludes

x86 lb excludes

8 years agoDisabling failing tests.
tijoytom [Tue, 8 Mar 2016 01:39:40 +0000 (17:39 -0800)]
Disabling failing tests.

8 years agoFix failing test in IntPtrGetHashCode.
Kevin Jones [Mon, 7 Mar 2016 23:16:03 +0000 (18:16 -0500)]
Fix failing test in IntPtrGetHashCode.

Test was not updated to reflect changes in GetHashCode.

Fix #3566

8 years agoMerge pull request #3556 from AndyAyersMS/InlineRefactorEarlyForce
Andy Ayers [Tue, 8 Mar 2016 01:09:59 +0000 (17:09 -0800)]
Merge pull request #3556 from AndyAyersMS/InlineRefactorEarlyForce

Inline refactoring: revise candidacy determination

8 years agoMerge pull request #3441 from ramarag/pal_longfile
Rama krishnan Raghupathy [Tue, 8 Mar 2016 00:58:24 +0000 (16:58 -0800)]
Merge pull request #3441 from ramarag/pal_longfile

Enabling LongFile Support in PAL

8 years agoMerge pull request #3553 from dotnet-bot/from-tfs
Pat Gavlin [Tue, 8 Mar 2016 00:57:36 +0000 (16:57 -0800)]
Merge pull request #3553 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #3477 from DrewScoggins/master
Matt Ellis [Tue, 8 Mar 2016 00:49:05 +0000 (16:49 -0800)]
Merge pull request #3477 from DrewScoggins/master

Update Linux build instructions

8 years agox86 lb excludes
Jarret Shook [Tue, 8 Mar 2016 00:10:38 +0000 (16:10 -0800)]
x86 lb excludes

8 years agoImprove interop test coverage
tijoytom [Mon, 7 Mar 2016 23:34:38 +0000 (15:34 -0800)]
Improve interop test coverage
Updating license headers
Delete duplicate test

8 years agoFix build break on Desktop arising out of MoveFileWrapper cleanup.
Gaurav Khanna [Mon, 7 Mar 2016 22:08:44 +0000 (14:08 -0800)]
Fix build break on Desktop arising out of MoveFileWrapper cleanup.

[tfs-changeset: 1582170]

8 years agoInline refactoring: revise candidacy determination
Andy Ayers [Mon, 7 Mar 2016 20:23:09 +0000 (12:23 -0800)]
Inline refactoring: revise candidacy determination

Rework the code to determine the key aspects of candidacy up front
rather than figuring it out eventually. In particular this ensures
that the two stages of evaulation for inlines both start at the same
point for candidates.

This will help streamline subsequent work to move the state machine
into the policy, since the state machine is only needed for the
case where the candidate is a discretionary inline, and the policy
now tracks this directly.

For the `LegacyPolicy`, if an inline is both smaller than the always
inline size and marked force inline, attribute its inlining to its
small size.

Remove bulk of the of the "evaluation in progress" candidate
observations since they don't add much value. As a result `noteCandidate`
is not needed as an external API, and can be repurposed internally as
`setCandidate`.

Change how the prejit root case is tracked to make it explicit
from the context rather than a callback to the compiler.

8 years agoEnabling LongFile Support in PAL
DDCloud [Tue, 1 Mar 2016 04:24:42 +0000 (20:24 -0800)]
Enabling LongFile Support in PAL

8 years agoARM64: Fix for handling GC register for call site
Kyungwoo Lee [Mon, 7 Mar 2016 16:49:10 +0000 (08:49 -0800)]
ARM64: Fix for handling GC register for call site

This fixes https://github.com/dotnet/coreclr/issues/2731.
Looking at GC heap corruption, JIT incorrectly reports the live range of
GC references so GC swept the live objects.
The issue was when JIT emits call instruction, GC live register is not
processed at all, which JIT treated them as dead.
The fix is to implement this missing part for ARM64.

8 years agoReapply change 1578859: Add a new set of APIs for JIT configuration.
Pat Gavlin [Mon, 7 Mar 2016 19:41:19 +0000 (11:41 -0800)]
Reapply change 1578859: Add a new set of APIs for JIT configuration.

SuperPMI has been udpated to accommodate this change, and should no
longer crash when run using a JIT built with these changes.

[tfs-changeset: 1582144]

8 years agoFix race condition in Pri 2 tests, and revert those tests to Pri 1
William Godbe [Wed, 2 Mar 2016 20:04:46 +0000 (12:04 -0800)]
Fix race condition in Pri 2 tests, and revert those tests to Pri 1

8 years agoMerge pull request #2878 from jashook/x86_exclude_update
Jarret Shook [Mon, 7 Mar 2016 18:59:55 +0000 (10:59 -0800)]
Merge pull request #2878 from jashook/x86_exclude_update

Update x86 lb excludes and turn on ci testing for x86 lb.

8 years agoMerge pull request #3521 from LLITCHEV/Issue3225
Lubomir Litchev [Mon, 7 Mar 2016 18:26:03 +0000 (10:26 -0800)]
Merge pull request #3521 from LLITCHEV/Issue3225

Remove a duplicate address tree consumption.

8 years agoNew x86 excludes and turn on ci testing for x86.
jashook [Wed, 27 Jan 2016 05:46:48 +0000 (21:46 -0800)]
New x86 excludes and turn on ci testing for x86.

8 years agoMerge pull request #3543 from leemgs/upstream-cross-arch2
Jan Kotas [Mon, 7 Mar 2016 04:00:52 +0000 (20:00 -0800)]
Merge pull request #3543 from leemgs/upstream-cross-arch2

ARM: Remove Distro/OS that have not been tested

8 years agoARM: Remove Distro/OS that have not been tested
Geunsik Lim [Mon, 7 Mar 2016 02:12:36 +0000 (11:12 +0900)]
ARM: Remove Distro/OS that have not been tested

Let's remove rest Distro/OSes to keep only the Distro/OS that have been tested
until someone actually start using/testing CoreCLR on RHEL, Debian, OSX, and so on.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
8 years agoMerge pull request #3470 from erozenfeld/ValueNumbersForR2RHelpers
Jan Kotas [Sun, 6 Mar 2016 03:15:10 +0000 (19:15 -0800)]
Merge pull request #3470 from erozenfeld/ValueNumbersForR2RHelpers

Improvements for ReadyToRun helpers in JIT value numbering.

8 years agoMerge pull request #3508 from hughbe/patch-1
Jan Kotas [Sun, 6 Mar 2016 03:11:10 +0000 (19:11 -0800)]
Merge pull request #3508 from hughbe/patch-1

Fix incorrect exception parameter name in GC

8 years agoMerge pull request #3538 from vcsjones/fix-3531
Jan Kotas [Sun, 6 Mar 2016 03:00:27 +0000 (19:00 -0800)]
Merge pull request #3538 from vcsjones/fix-3531

Fix compilation errors on tests.

8 years agoFix compilation errors on tests.
Kevin Jones [Sat, 5 Mar 2016 23:07:11 +0000 (18:07 -0500)]
Fix compilation errors on tests.

Fix #3531

8 years agoMerge pull request #3536 from JohnChen0/master
Jan Kotas [Sat, 5 Mar 2016 19:31:50 +0000 (11:31 -0800)]
Merge pull request #3536 from JohnChen0/master

Modify zaprequire switch to allow Ready-to-Run images