platform/upstream/coreclr.git
7 years agoMerge pull request #8973 from wtgodbe/HelixTestRuns
William Godbe [Tue, 24 Jan 2017 22:03:02 +0000 (14:03 -0800)]
Merge pull request #8973 from wtgodbe/HelixTestRuns

Add support for running CoreCLR Tests in Helix

7 years agoMerge pull request #9090 from rahku/arm64fix
Rahul Kumar [Tue, 24 Jan 2017 21:47:37 +0000 (13:47 -0800)]
Merge pull request #9090 from rahku/arm64fix

Fix arm64 build break

7 years agoFast-path for ASCII & UTF8 Encoding ASCII data (#8969)
Ben Adams [Tue, 24 Jan 2017 21:21:52 +0000 (21:21 +0000)]
Fast-path for ASCII & UTF8 Encoding ASCII data (#8969)

* ASCII Encoding fast-path

* Add skipp for BIGENDIAN

* fixes

* ascii  GetBytes(char[] chars) fix

* feedback

* Clean up

* Reuse exception block

* Add debug Asserts

7 years agoMerge pull request #8944 from DmitryDzuba/patch-1
Ian Hays [Tue, 24 Jan 2017 21:18:27 +0000 (13:18 -0800)]
Merge pull request #8944 from DmitryDzuba/patch-1

Add version increment into Sort(Comparison<T>)

7 years agoAdd support for running CoreCLR Tests in Helix
wtgodbe [Tue, 17 Jan 2017 22:47:51 +0000 (14:47 -0800)]
Add support for running CoreCLR Tests in Helix

7 years agoMerge pull request #9071 from gkhanna79/FixVer200
Gaurav Khanna [Tue, 24 Jan 2017 19:57:12 +0000 (11:57 -0800)]
Merge pull request #9071 from gkhanna79/FixVer200

Update CoreCLR nuget package versions to 2.0.0

7 years agoFix arm64 build break
Rahul Kumar [Tue, 24 Jan 2017 19:32:24 +0000 (11:32 -0800)]
Fix arm64 build break

7 years agoMerge pull request #9076 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 24 Jan 2017 17:28:56 +0000 (09:28 -0800)]
Merge pull request #9076 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively (master)

7 years agoDelete unused files (#9082)
mikedn [Tue, 24 Jan 2017 15:30:45 +0000 (17:30 +0200)]
Delete unused files (#9082)

- *.vrg files (registry entries)
- *.ini files (performance counters)
- *.vcproj/vcxproj/vspscc/sln (out of date)
- mscorrc.rc2 (not referenced from anywhere)

7 years agoUpdate CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively
dotnet-bot [Tue, 24 Jan 2017 15:13:54 +0000 (15:13 +0000)]
Update CoreClr, CoreFx to beta-24924-01, beta-24924-02, respectively

7 years ago[x86/Linux] Port CheckRegDisplaySP (#9081)
Jonghyun Park [Tue, 24 Jan 2017 14:54:37 +0000 (23:54 +0900)]
[x86/Linux] Port CheckRegDisplaySP (#9081)

Remove duplicated declarations of CheckRegDisplaySP, and enable it for x86.

7 years ago[x86/Linux] Fix EH Region Mismatch (#9043)
Jonghyun Park [Tue, 24 Jan 2017 12:39:37 +0000 (21:39 +0900)]
[x86/Linux] Fix EH Region Mismatch (#9043)

7 years agoSimplify #ifdef related with UnwindStackFrame (#9052)
Jonghyun Park [Tue, 24 Jan 2017 11:09:16 +0000 (20:09 +0900)]
Simplify #ifdef related with UnwindStackFrame (#9052)

7 years agoClean up #else in EECodeManager::FixContext (#9048)
Jonghyun Park [Tue, 24 Jan 2017 09:36:30 +0000 (18:36 +0900)]
Clean up #else in EECodeManager::FixContext (#9048)

* Clean up #else in EECodeManager::FixContext

* Remove FixContext decl from EECodeManager

7 years agoClean up LeaveFinally/LeaveCatch (#9050)
Jonghyun Park [Tue, 24 Jan 2017 09:31:51 +0000 (18:31 +0900)]
Clean up LeaveFinally/LeaveCatch (#9050)

* Hide LeaveFinally/LeaveCatch when WIN64EXCEPTION is defined

7 years agoMerge pull request #9074 from BruceForstall/FixGenTreeHash
Bruce Forstall [Tue, 24 Jan 2017 07:27:47 +0000 (23:27 -0800)]
Merge pull request #9074 from BruceForstall/FixGenTreeHash

Fix GenTree hash function for commutative operators

7 years agoDisallow statics of spans and class instance members of span (#9061)
Koundinya Veluri [Tue, 24 Jan 2017 07:13:26 +0000 (23:13 -0800)]
Disallow statics of spans and class instance members of span (#9061)

Functional fix for #8516 to cover some additional cases. IL tests will be coming later in a separate PR.

7 years ago[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAbortStatus (...
Jonghyun Park [Tue, 24 Jan 2017 06:52:45 +0000 (15:52 +0900)]
[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAbortStatus (#9079)

7 years agoRename Esp in x86 REGDISPLAY as SP (#9070)
Jonghyun Park [Tue, 24 Jan 2017 06:50:20 +0000 (15:50 +0900)]
Rename Esp in x86 REGDISPLAY as SP (#9070)

* Rename Esp in x86 REGDISPLAY as SP

* Fix x86/Windows build error

7 years agoMerge pull request #8672 from mikedn/cmp-lower-refactoring
Carol Eidt [Tue, 24 Jan 2017 06:25:25 +0000 (22:25 -0800)]
Merge pull request #8672 from mikedn/cmp-lower-refactoring

Refactor TreeNodeInfoInitCmp

7 years agoMerge pull request #9072 from CarolEidt/DevDiv_1206929
Carol Eidt [Tue, 24 Jan 2017 06:24:53 +0000 (22:24 -0800)]
Merge pull request #9072 from CarolEidt/DevDiv_1206929

Add a test case for a test optimization

7 years agoPort GC fixes from CoreRT (#9078)
Jan Kotas [Tue, 24 Jan 2017 06:23:18 +0000 (22:23 -0800)]
Port GC fixes from CoreRT (#9078)

7 years agoRemove PALAPI attribute from PAL Callback (#9075)
Jonghyun Park [Tue, 24 Jan 2017 06:08:06 +0000 (15:08 +0900)]
Remove PALAPI attribute from PAL Callback (#9075)

7 years agoClean up #else in EECodeManager::GetAmbientSP (#9049)
Jonghyun Park [Tue, 24 Jan 2017 05:50:05 +0000 (14:50 +0900)]
Clean up #else in EECodeManager::GetAmbientSP (#9049)

7 years agoMerge pull request #8910 from AndyAyersMS/SpanBench
Andy Ayers [Tue, 24 Jan 2017 04:02:20 +0000 (20:02 -0800)]
Merge pull request #8910 from AndyAyersMS/SpanBench

Add a simple span benchmark

7 years ago[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms ...
Sean Gillespie [Tue, 24 Jan 2017 03:44:10 +0000 (19:44 -0800)]
[Local GC] Provide an implementation of GCToOSInterface for Unix-like platforms (#8976)

* Add way to build with FEATURE_STANDALONE_GC from build.sh
* Make CMake changes to build the GC 'PAL' as its own build target (to avoid -nostdinc).
In addition, introduce a "GC PAL" that provides an implementation of
GCToOSInterface on Unix-like platforms, for use with
FEATURE_STANDALONE_GC.

7 years agoFix GenTree hash function for commutative operators
Bruce Forstall [Tue, 24 Jan 2017 01:19:30 +0000 (17:19 -0800)]
Fix GenTree hash function for commutative operators

gtHashValue() computes a hash value for a tree that, at least now,
is only used for determining whether to display the tree in the
JitDump after morphing. The hash function for commutative binary
operators was designed to return the same value if the operands
were switched (possibly this was used for CSE previously?). However,
this means that in some cases, nearly symmetric operands before and
after morphing would cause the "after morph" tree not to be displayed,
which is very confusing, since it implies that morphing had no
effect on the tree.

Since it appears we have no need for this special handling of
commutative binary operators, remove the special hashing done for them.

7 years agoDisable GC/Scenarios/DoublinkList/doublinkgen (#9063)
Sean Gillespie [Tue, 24 Jan 2017 01:11:15 +0000 (17:11 -0800)]
Disable GC/Scenarios/DoublinkList/doublinkgen (#9063)

* Disable DoublinkGen (see #6574)

* Add test to testsFailingOutsideWindows.txt

7 years ago[Local GC] Add three finalization-related operations to GCToEEInterface (#9029)
Sean Gillespie [Tue, 24 Jan 2017 00:50:51 +0000 (16:50 -0800)]
[Local GC] Add three finalization-related operations to GCToEEInterface (#9029)

* Add three finalization-related operations to GCToEEInterface and utilize them from the GC

* Code review feedback

* Code review feedback

* Fix standalone GC build break

* Repair the standalone GC build

7 years agoAdd a test case for a test optimization
Carol Eidt [Tue, 24 Jan 2017 00:23:29 +0000 (16:23 -0800)]
Add a test case for a test optimization

7 years agoMerge pull request #9056 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Tue, 24 Jan 2017 00:18:31 +0000 (16:18 -0800)]
Merge pull request #9056 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-24923-06 (master)

7 years agoUpdate CoreCLR nuget package versions to 2.0.0
Gaurav Khanna [Mon, 23 Jan 2017 23:39:52 +0000 (15:39 -0800)]
Update CoreCLR nuget package versions to 2.0.0

7 years agoMerge pull request #9058 from dotnet/redundant_neg
Jan Kotas [Mon, 23 Jan 2017 23:11:50 +0000 (15:11 -0800)]
Merge pull request #9058 from dotnet/redundant_neg

Remove redundant symbols disabled in CoreCLR

7 years agoMerge pull request #9059 from omajid/rhel7
Matt Ellis [Mon, 23 Jan 2017 22:58:44 +0000 (14:58 -0800)]
Merge pull request #9059 from omajid/rhel7

Treat RHEL 7.x versions as RHEL 7 when building

7 years agoMove version increment, add size conditions
Dmitry [Mon, 23 Jan 2017 22:07:40 +0000 (01:07 +0300)]
Move version increment, add size conditions

Move version increment out of the if block.
Add new or modify existing conditions in the Reverse and two Sort methods to skip an operation if the collection size is less than 2.

7 years agoUpdate CoreClr to beta-24923-06
dotnet-bot [Mon, 23 Jan 2017 19:44:01 +0000 (19:44 +0000)]
Update CoreClr to beta-24923-06

7 years agoTreat RHEL 7.x versions as RHEL 7 when building
Omair Majid [Mon, 23 Jan 2017 18:08:08 +0000 (13:08 -0500)]
Treat RHEL 7.x versions as RHEL 7 when building

All RHEL 7.x versions are backwards compatible with each other. A .NET
Core build from 7.2 works fin on RHEL 7.3, for example. Treat this as a
general case and handle all 7.x versions the same.

This change only affects whether packages are built or not.

7 years agoRemove desktop props
danmosemsft [Mon, 23 Jan 2017 19:05:12 +0000 (11:05 -0800)]
Remove desktop props

7 years agoRemove disabled FEATURE_APTCA
danmosemsft [Mon, 23 Jan 2017 18:40:54 +0000 (10:40 -0800)]
Remove disabled FEATURE_APTCA

7 years agoRemove disabled FEATURE_APPDOMAINMANAGER_INITOPTIONS
danmosemsft [Mon, 23 Jan 2017 18:38:35 +0000 (10:38 -0800)]
Remove disabled FEATURE_APPDOMAINMANAGER_INITOPTIONS

7 years agoRemove disabled FEATURE_APPX_BINDER
danmosemsft [Mon, 23 Jan 2017 18:36:22 +0000 (10:36 -0800)]
Remove disabled FEATURE_APPX_BINDER

7 years agoRemove disabled FEATURE_X509_SECURESTRINGS
danmosemsft [Mon, 23 Jan 2017 18:15:34 +0000 (10:15 -0800)]
Remove disabled FEATURE_X509_SECURESTRINGS

7 years agoRemove disabled FEATURE_X509
danmosemsft [Mon, 23 Jan 2017 18:14:02 +0000 (10:14 -0800)]
Remove disabled FEATURE_X509

7 years agoRemove disabled FEATURE_UNSAFE_CONTRACTS
danmosemsft [Mon, 23 Jan 2017 18:10:54 +0000 (10:10 -0800)]
Remove disabled FEATURE_UNSAFE_CONTRACTS

7 years agoRemove disabled FEATURE_SERIALIZATION
danmosemsft [Mon, 23 Jan 2017 18:08:33 +0000 (10:08 -0800)]
Remove disabled FEATURE_SERIALIZATION

7 years agoRemove disabled FEATURE_RWLOCK
danmosemsft [Mon, 23 Jan 2017 18:07:06 +0000 (10:07 -0800)]
Remove disabled FEATURE_RWLOCK

7 years agoRemove disabled FEATURE_PLS
danmosemsft [Mon, 23 Jan 2017 18:02:09 +0000 (10:02 -0800)]
Remove disabled FEATURE_PLS

7 years agoRemove disabled FEATURE_NORM_IDNA_ONLY
danmosemsft [Mon, 23 Jan 2017 17:59:09 +0000 (09:59 -0800)]
Remove disabled FEATURE_NORM_IDNA_ONLY

7 years agoRemove disabled FEATURE_METHOD_RENTAL
danmosemsft [Mon, 23 Jan 2017 17:57:57 +0000 (09:57 -0800)]
Remove disabled FEATURE_METHOD_RENTAL

7 years agoRemove disabled FEATURE_LINK_DEMAND
danmosemsft [Mon, 23 Jan 2017 17:56:51 +0000 (09:56 -0800)]
Remove disabled FEATURE_LINK_DEMAND

7 years agoRemove disabled FEATURE_LEGACYSURFACE
danmosemsft [Mon, 23 Jan 2017 17:55:40 +0000 (09:55 -0800)]
Remove disabled FEATURE_LEGACYSURFACE

7 years agoRemove disabled FEATURE_LEAK_CULTURE_INFO
danmosemsft [Mon, 23 Jan 2017 17:54:24 +0000 (09:54 -0800)]
Remove disabled FEATURE_LEAK_CULTURE_INFO

7 years agoAdd String.Trim overloads that take a single char (#9009)
Justin Van Patten [Mon, 23 Jan 2017 18:29:52 +0000 (13:29 -0500)]
Add String.Trim overloads that take a single char (#9009)

* Add String.Trim overloads that take a single char
* Cleanup uses of string.Trim/TrimEnd

7 years agoRemove disabled FEATURE_CRYPTO
danmosemsft [Mon, 23 Jan 2017 17:49:13 +0000 (09:49 -0800)]
Remove disabled FEATURE_CRYPTO

7 years agoRemove disabled FEATURE_COMPRESSEDSTACK
danmosemsft [Mon, 23 Jan 2017 17:47:29 +0000 (09:47 -0800)]
Remove disabled FEATURE_COMPRESSEDSTACK

7 years agoRemove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST
danmosemsft [Mon, 23 Jan 2017 17:45:52 +0000 (09:45 -0800)]
Remove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST

7 years agoRemove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION
danmosemsft [Mon, 23 Jan 2017 17:43:51 +0000 (09:43 -0800)]
Remove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION

7 years agoRemove disabled FEATURE_CODEPAGES_FILE
danmosemsft [Mon, 23 Jan 2017 17:34:23 +0000 (09:34 -0800)]
Remove disabled FEATURE_CODEPAGES_FILE

7 years agoRemove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM
danmosemsft [Mon, 23 Jan 2017 17:32:26 +0000 (09:32 -0800)]
Remove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM

7 years agoRemove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 17:31:11 +0000 (09:31 -0800)]
Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS

7 years agoMerge pull request #9044 from dotnet/redundant_defs
Dan Moseley [Mon, 23 Jan 2017 18:26:40 +0000 (11:26 -0700)]
Merge pull request #9044 from dotnet/redundant_defs

Remove always-defined symbols

7 years agoAdd simple span benchmarks
Andy Ayers [Fri, 13 Jan 2017 19:58:51 +0000 (11:58 -0800)]
Add simple span benchmarks

Tests performance of span vs array in a few simple scenarios.

7 years agoDisable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change
danmosemsft [Mon, 23 Jan 2017 17:03:41 +0000 (09:03 -0800)]
Disable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change

7 years agoMerge pull request #9035 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Mon, 23 Jan 2017 16:56:08 +0000 (08:56 -0800)]
Merge pull request #9035 from dotnet-bot/master-UpdateDependencies

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

7 years agoMerge pull request #8724 from hqueue/arm/ryujit/fpaddconst
Pat Gavlin [Mon, 23 Jan 2017 16:43:59 +0000 (16:43 +0000)]
Merge pull request #8724 from hqueue/arm/ryujit/fpaddconst

[Ryujit/ARM32] Implement const, comparion and intrinsic for floating-point

7 years agoRevert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"
danmosemsft [Mon, 23 Jan 2017 16:43:46 +0000 (08:43 -0800)]
Revert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"

This reverts commit 9c6de0b7af3716eea3fc16a91ab8b7c2c92e6e98.

7 years agoRemove some Diagnostics.Eventing allocations (#8869)
Ben Adams [Mon, 23 Jan 2017 16:24:21 +0000 (16:24 +0000)]
Remove some Diagnostics.Eventing allocations (#8869)

Remove some closure allocations

escapes string[] to static rather than function alloc

7 years agoUpdate CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively
dotnet-bot [Mon, 23 Jan 2017 15:16:37 +0000 (15:16 +0000)]
Update CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively

7 years ago[x86/Linux] Port two assertions in stackwalk.cpp (#9046)
Jonghyun Park [Mon, 23 Jan 2017 12:00:34 +0000 (21:00 +0900)]
[x86/Linux] Port two assertions in stackwalk.cpp (#9046)

7 years ago[ARM32/Linux] cross-architecture build errro: stub for crossgen (#8917)
Hyeongseok Oh [Mon, 23 Jan 2017 11:19:43 +0000 (20:19 +0900)]
[ARM32/Linux] cross-architecture build errro: stub for crossgen (#8917)

Fix union name in T_CONTEXT used by arm/stubs.cpp

7 years ago[x86/Linux] Enable FEATURE_EH_FUNCLETS (#8889)
Jonghyun Park [Mon, 23 Jan 2017 10:46:37 +0000 (19:46 +0900)]
[x86/Linux] Enable FEATURE_EH_FUNCLETS (#8889)

* [x86/Linux] (Partially) Enable FEATURE_EH_FUNCLETS

* Update CLR ABI Document

* Add TODO (for Funclet Prolog/Epilog Gen)

7 years agoReport by-ref-like types to the GC (SpanOfT) (#9034)
Koundinya Veluri [Mon, 23 Jan 2017 07:10:14 +0000 (23:10 -0800)]
Report by-ref-like types to the GC (SpanOfT) (#9034)

Report by-ref-like types to the GC (SpanOfT)

Fixes #8517

7 years agoRemove FEATURE_WINDOWSPHONE
danmosemsft [Mon, 23 Jan 2017 04:55:11 +0000 (20:55 -0800)]
Remove FEATURE_WINDOWSPHONE

7 years agoRemove FEATURE_VERSIONING
danmosemsft [Mon, 23 Jan 2017 04:50:23 +0000 (20:50 -0800)]
Remove FEATURE_VERSIONING

7 years agoFEATURE_SYNCHRONIZATIONCONTEXT_WAIT
danmosemsft [Mon, 23 Jan 2017 04:48:38 +0000 (20:48 -0800)]
FEATURE_SYNCHRONIZATIONCONTEXT_WAIT

7 years agoRemove FEATURE_STRONGNAME_MIGRATION
danmosemsft [Mon, 23 Jan 2017 04:47:11 +0000 (20:47 -0800)]
Remove FEATURE_STRONGNAME_MIGRATION

7 years agoRemove FEATURE_SPAN_OF_T and UseLegacyCompiler
danmosemsft [Mon, 23 Jan 2017 04:45:52 +0000 (20:45 -0800)]
Remove FEATURE_SPAN_OF_T and UseLegacyCompiler

7 years agoRemove FEATURE_MULTICOREJIT
danmosemsft [Mon, 23 Jan 2017 04:42:43 +0000 (20:42 -0800)]
Remove FEATURE_MULTICOREJIT

7 years agoRemove FEATURE_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 04:41:06 +0000 (20:41 -0800)]
Remove  FEATURE_MANAGED_ETW_CHANNELS

7 years agoRemove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME
danmosemsft [Mon, 23 Jan 2017 04:37:25 +0000 (20:37 -0800)]
Remove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME

7 years agoRemove FEATURE_LOADER_OPTIMIZATION
danmosemsft [Mon, 23 Jan 2017 04:36:11 +0000 (20:36 -0800)]
Remove FEATURE_LOADER_OPTIMIZATION

7 years agoRemove FEATURE_HOST_ASSEMBLY_RESOLVER
danmosemsft [Mon, 23 Jan 2017 04:34:38 +0000 (20:34 -0800)]
Remove FEATURE_HOST_ASSEMBLY_RESOLVER

7 years agoRemove FEATURE_EXCEPTION_NOTIFICATIONS
danmosemsft [Mon, 23 Jan 2017 04:32:11 +0000 (20:32 -0800)]
Remove FEATURE_EXCEPTION_NOTIFICATIONS

7 years agoRemove FEATURE_EXCEPTIONDISPATCHINFO
danmosemsft [Mon, 23 Jan 2017 04:29:22 +0000 (20:29 -0800)]
Remove FEATURE_EXCEPTIONDISPATCHINFO

7 years agoRemove FEATURE_CORRUPTING_EXCEPTIONS
danmosemsft [Mon, 23 Jan 2017 04:27:03 +0000 (20:27 -0800)]
Remove FEATURE_CORRUPTING_EXCEPTIONS

7 years agoremove FEATURE_CORESYSTEM
danmosemsft [Mon, 23 Jan 2017 04:15:12 +0000 (20:15 -0800)]
remove FEATURE_CORESYSTEM

7 years agoremove FEATURE_CORECLR (not used in cs)
danmosemsft [Mon, 23 Jan 2017 04:08:05 +0000 (20:08 -0800)]
remove FEATURE_CORECLR (not used in cs)

7 years agoRemove FEATURE_COLLECTIBLE_TYPES symbol
danmosemsft [Tue, 17 Jan 2017 23:46:45 +0000 (15:46 -0800)]
Remove FEATURE_COLLECTIBLE_TYPES symbol

7 years agoremove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib
danmosemsft [Fri, 13 Jan 2017 00:26:06 +0000 (16:26 -0800)]
remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib

7 years agoRemove __GNUC__ version checks (#8978)
Jan Vorlicek [Sat, 21 Jan 2017 09:46:27 +0000 (10:46 +0100)]
Remove __GNUC__ version checks (#8978)

This change removes obsolete `__GNUC__` version checks at several places.
The minimum supported clang version is 3.5 and that generates __GNUC__
value of 4.

7 years agoDelete unused AppDomain{Setup} types/members (#8768)
James Ko [Sat, 21 Jan 2017 04:02:54 +0000 (23:02 -0500)]
Delete unused AppDomain{Setup} types/members (#8768)

* Delete unused AppDomain members
* Delete unused AppDomainSetup members

7 years agoMerge pull request #9027 from JosephTremoulet/Comment
Joseph Tremoulet [Sat, 21 Jan 2017 03:36:31 +0000 (22:36 -0500)]
Merge pull request #9027 from JosephTremoulet/Comment

Fix incorrect comment

7 years agoFix debugger launch race hitting breakpoints in startup code. (#8951)
Mike McLaughlin [Sat, 21 Jan 2017 01:46:06 +0000 (17:46 -0800)]
Fix debugger launch race hitting breakpoints in startup code. (#8951)

The attached flag was been set asynchronously relative to the DebugActiveProcess
returning.  This could cause a race where the initial module load notification being
missed/not sent to the debugger.

This fix sets the attached flag before any notifications sent during launch if the runtime was
launched/attached using the startup handshake after dbgshim tells the runtime to "continue"
when the runtime startup API callback returns.

Also fixes another race condition in dbgshim where EnumerateCLRs returns a NULL continue event
handle because the coreclr module was loaded but the g_hContinueStartupEvent wasn't initialized
on the runtime side yet. Changed the static initialization of g_hContinueStartupEvent to
INVALID_HANDLE_VALUE and the InternalEnumerateCLRs sleep/retry loop to retry when any of the
handles are INVALID_HANDLE_VALUE. This fixes the race only when you have the latest dbgshim
and coreclr binaries and the old/new mixes still function but don't fix the race.

7 years agoFix incorrect comment
Joseph Tremoulet [Fri, 20 Jan 2017 21:42:28 +0000 (16:42 -0500)]
Fix incorrect comment

Rewrite bogus reference to nonexistsent `m_HeapDef` to correctly refer to
`block->bbHeapDef`.  Also change "doesn't kill heap" to "doesn't kill heap
liveness" (since it still kills availability).

Also add clarifying comments where `bbHeapUse` and `bbHeapDef` are
declared.

7 years agoFixup Span<T> implementation to be more similar to the corefx one (#9028)
Jan Kotas [Sat, 21 Jan 2017 01:13:50 +0000 (17:13 -0800)]
Fixup Span<T> implementation to be more similar to the corefx one (#9028)

- Reorder methods, adjust comments and formatting to make it easier to see the diff with corefx
- Delete extra implicit conversion operator

7 years agoRemove PLATFORM_UNIX and FEATURE_PAL checks in PAL (#8982)
Jan Vorlicek [Fri, 20 Jan 2017 23:32:12 +0000 (00:32 +0100)]
Remove PLATFORM_UNIX and FEATURE_PAL checks in PAL (#8982)

This change removes all ifdefs for PLATFORM_UNIX and FEATURE_PAL
from PAL and also removes dead code that was never compiled in PAL
due to both of them being always defined for PAL.

7 years agoMerge pull request #8814 from YongseopKim/impl_genIntToIntCast
Carol Eidt [Fri, 20 Jan 2017 21:53:17 +0000 (13:53 -0800)]
Merge pull request #8814 from YongseopKim/impl_genIntToIntCast

[RyuJIT/ARM32]Implement NYI("Cast")

7 years agoMerge pull request #9008 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 20 Jan 2017 20:45:07 +0000 (12:45 -0800)]
Merge pull request #9008 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively (master)

7 years agoAddress CR feedback
Mike Danes [Fri, 20 Jan 2017 18:34:00 +0000 (20:34 +0200)]
Address CR feedback
- rename genTypeValueFitsIn
- use pointer to pointer instead of reference to pointer

7 years agoUpdate CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively
dotnet-bot [Fri, 20 Jan 2017 17:25:57 +0000 (17:25 +0000)]
Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively