Mukul Sabharwal [Fri, 21 Oct 2016 22:20:02 +0000 (15:20 -0700)]
Address CR feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
aac02c9ceb7f41ffed1353759e079f063fc953f9
Mukul Sabharwal [Fri, 21 Oct 2016 16:24:21 +0000 (09:24 -0700)]
Add LCG JIT Compilation Profiler Callbacks
Methods that contain no metadata (e.g. of sources are IL Stubs,
DynamicMethod, Expression Trees, etc.) also known as LCG methods are not
reported to profilers via the Profiling API. LCG, introduced in .NET 2.0
timeframe is unique in that it doesn't require the method to be hosted
in an assembly > module > type heirarchy and is GCable in of itself.
This change adds new APIs that notify the profiler of such methods but
since there is no metadata to go lookup, it provides some useful pieces
of information that the profiler author may want to expose to the
profiler user.
In the compilation start method we provide a className (always
dynamicClass), a methodName that can be a set of few predetermined names
like (ILStub_COMToCLR, etc.) or if the user has set the name for the LCG
method that can show up here. For example, when using the Expression
Trees API, the user can specify a friendly name which would be returned
here.
In the jit completed callback we provide information for the native code
start address and size. This is particularly useful to get more accurate
accounting of what the (previously unidentified) code is. At least the
user would know it is JITTed if nothing more (but most likely more
information like what kind of stub).
Furthermore, since this is going to be a profiler callback, the profiler
can initiate a stackwalk and give more contextual information to its
users beyond the pieces of information we can provide here that could
identify what they're encountering.
Finally, there is also the case that today the profiling APIs
underreport JITTed code in the process. Considerable amount of LCG code
can now be present in the program and in security-sensitive environments
where tracking JITTed code for security reasons is important the
profiling apis fall short. In such environments there is also often
restrictions on running with elevated privileges, so procuring this data
through other means (like ETW) may pose a challenge.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b1f9f8315e011a693eab1f0bc7fb8f1a9c91350d
Eric Mellino [Tue, 18 Oct 2016 04:48:18 +0000 (21:48 -0700)]
Merge pull request dotnet/coreclr#7684 from mellinoe/fix-alpine-pgks
Fix placeholder pdb file path in alpine nuget packages
Commit migrated from https://github.com/dotnet/coreclr/commit/
bed314bb3005e3c5fc0b3c0723e398e702e08f65
Jan Kotas [Tue, 18 Oct 2016 04:40:45 +0000 (21:40 -0700)]
Merge pull request dotnet/coreclr#7648 from jkotas/fix-docs
Update instructions to use local dotnet tool build
Commit migrated from https://github.com/dotnet/coreclr/commit/
fbbe590055c89744097838355744541c71132a08
Alex Perovich [Tue, 18 Oct 2016 03:55:55 +0000 (20:55 -0700)]
Add missing Arg_BadDecimal resource to corelib (dotnet/coreclr#7673)
Fixes dotnet/coreclr#7671
Commit migrated from https://github.com/dotnet/coreclr/commit/
005b0473a938a9f6ea8223ae5158893322402b04
Pat Gavlin [Tue, 18 Oct 2016 03:18:29 +0000 (20:18 -0700)]
Merge pull request dotnet/coreclr#7676 from pgavlin/EmitKillGCRefRRWSH
Update GC info when emitting IF_RRW_SHF.
Commit migrated from https://github.com/dotnet/coreclr/commit/
293b56c817ca6dbaaf3470117a09aab4f9d9b246
Eric Mellino [Tue, 18 Oct 2016 02:46:50 +0000 (02:46 +0000)]
Fix placeholder pdb file path in alpine nuget packages
Commit migrated from https://github.com/dotnet/coreclr/commit/
3738bb62bbcd12bb6711ae42f44d3ac60f8d55ab
Jan Kotas [Tue, 18 Oct 2016 01:29:03 +0000 (18:29 -0700)]
Include project.json template in the instructions
Commit migrated from https://github.com/dotnet/coreclr/commit/
99937eea327509bef5bec333596d91daebd5abde
Pat Gavlin [Tue, 18 Oct 2016 02:05:14 +0000 (19:05 -0700)]
Merge pull request dotnet/coreclr#7608 from pgavlin/MoveGSCookieCheck
Generate GS cookie checks before consuming call args.
Commit migrated from https://github.com/dotnet/coreclr/commit/
cea717ba929c3f6318e9f2f776465b7d55133ec8
Jan Kotas [Tue, 18 Oct 2016 01:53:39 +0000 (18:53 -0700)]
Merge pull request dotnet/coreclr#7682 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
1dd2b671dd782bd1fe6a7a4eb2aad50e27e25376
Jan Vorlicek [Tue, 18 Oct 2016 01:53:27 +0000 (03:53 +0200)]
Fix memcpy undef (dotnet/coreclr#7675)
This change fixes a memcpy #undef in the palinternal.h. It was undefed only for
non-debug builds, but it needs to be undefed for debug build as well. The non-debug
undef covers the case where memcpy is defined as DUMMY_memcpy, but doesn't cover
the debug case where memcpy is defined as PAL_memcpy.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b24e111d001aea593e87b4b55c77b8a050691202
Jan Kotas [Mon, 17 Oct 2016 23:27:08 +0000 (16:27 -0700)]
Change the name buildtools semaphore temporarily
Commit migrated from https://github.com/dotnet/coreclr/commit/
943b05e15ea0d8936b7ebd145391d7c82f26d3e7
Jan Kotas [Mon, 17 Oct 2016 03:32:46 +0000 (20:32 -0700)]
Update instructions to use local dotnet tool build
Commit migrated from https://github.com/dotnet/coreclr/commit/
b39d1afb8f6d28340786eeaba142afbd2eff3790
William Godbe [Mon, 17 Oct 2016 23:55:35 +0000 (16:55 -0700)]
Merge pull request dotnet/coreclr#7628 from wtgodbe/HelixFinal
Build tests against packages & produce Core_Root for arbitrary OS
Commit migrated from https://github.com/dotnet/coreclr/commit/
15711b096d9990881bb6464532811f2d58630c8d
Koundinya Veluri [Mon, 17 Oct 2016 23:52:38 +0000 (16:52 -0700)]
Merge pull request dotnet/coreclr#7667 from kouvel/ApiThreadCleanup
Expose RuntimeThread.Yield, fix warning
Commit migrated from https://github.com/dotnet/coreclr/commit/
56032e0e66cfa4f5f4a35316cf98dd7dcd57e5c3
Rama Krishnan Raghupathy [Mon, 17 Oct 2016 23:36:01 +0000 (16:36 -0700)]
Adding SafeSerializationEventArgs to netstandard2.0
[tfs-changeset: 1633663]
Commit migrated from https://github.com/dotnet/coreclr/commit/
bc382fd9ef27b9d200045cc030cf09b7bf547173
Pat Gavlin [Thu, 13 Oct 2016 23:59:28 +0000 (16:59 -0700)]
Generate GS cookie checks before consuming call args.
This is necessary in order to correctly calculate the liveness of the
call arguments. Generating this check after consuming the arguments
causes errors in the GC info s.t. GC ref arguments are not considered
live past the call instruction: instead, they are considered dead
before the call instruction.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1ade4f81640356ab647f552ade6ac57e5f2d723d
Matthew Parkinson [Mon, 17 Oct 2016 22:56:50 +0000 (23:56 +0100)]
Fixing PAL_TRY use in BOTR (dotnet/coreclr#7658)
In the Exceptions Section it gives an example use of `PAL_TRY`,
but the parameters to the `PAL_TRY` need to be passed as an argument,
and cannot be implicit. This commit brings the change inline with
the programming model.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0e085b70a10638aab4b7b1341da99b7698e1c131
Tarek Mahmoud Sayed [Mon, 17 Oct 2016 22:44:36 +0000 (15:44 -0700)]
Enable NumberFormatInfo netstandard 1.7 APIs (dotnet/coreclr#7659)
* Enable NumberFormatInfo netstandard 1.7 APIs
* Remove ComVisible attributes
* Remove more ComVisible attributes
Commit migrated from https://github.com/dotnet/coreclr/commit/
afed5fd929d862f3b41eb1f2185e132b4d8364cd
Jan Kotas [Mon, 17 Oct 2016 22:36:34 +0000 (15:36 -0700)]
Merge pull request dotnet/coreclr#7657 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
c9f04e2c9bd6fd0c4dc9075ec9b38f6fdaa97646
Pat Gavlin [Mon, 17 Oct 2016 22:26:53 +0000 (15:26 -0700)]
Update GC info when emitting IF_RRW_SHF.
Instructions with this format should never produce a GC reference, and
should kill any GC reference that was in the destination register.
This situation can arise with IR such as the following:
t1347 = &lclFld byref V00 loc0 [+8] Fseq[m_b] REG ecx
/--* t1347 byref
* st.lclVar int V271 tmp270 d:3 ecx REG ecx RV
t8942 = lclVar int V271 tmp270 ecx REG ecx RV
t8937 = const int 0 reuse reg val REG eax RV
/--* t8942 int
+--* t8937 int
t8943 = * gt_long long REG NA
t8939 = const int 4 REG NA
/--* t8943 long
+--* t8939 int
t8944 = * <<Hi int REG eax
t6676 = lclVar int V271 tmp270 u:3 ecx (last use) REG ecx RV $6b6
t8940 = const int 4 REG NA
/--* t6676 int
+--* t8940 int
t8941 = * << int REG ecx
For this IR, we generate the following x86 assembly:
IN04b3: 001218 8D4DE8 lea ecx, bword ptr [ebp-18H]
IN04b4: 00121B
0FA4C804 shld eax, ecx, 4
IN04b5: 00121F C1E104 shl ecx, 4
Where the `lea` corresponds to the `&lclFld` node, the `shld`
corresponds to the `<<Hi` node, and the `shl` corresponds to the `<<`
node. Because the `&lclFld` node is typed as a byref, the `lea`
instruction marks `ecx` as a byref register. Normally, the `st.lclVar`
would update the gc-ness of its destination, but in this case it is
elided because its source register matches its destination register. As
a result, `ecx` is still considered to contain a byref value at the
point of the `shl`.
It is very likely that it is also a bug that the elided `st.lclVar` does
not udpate the gc-ness of its destination, though it remains to be seen
whether or not this can cause SBCG in other cases.
The typing of the `&lclFld` node as a byref is also questionable, as
these nodes are guaranteed to point to the stack (and are therefore
never heap references). This typing is conservatively correct, however,
and AFAICT only causes us to over-report registers or stack slots in the
generated GC info.
Commit migrated from https://github.com/dotnet/coreclr/commit/
2d82e2740d666ef9c4e661ad5798b387ced75b13
Bruce Forstall [Mon, 17 Oct 2016 22:25:15 +0000 (15:25 -0700)]
Merge pull request dotnet/coreclr#6679 from parjong/fix/issue_6569
Revises isSingleFloat32Struct
Commit migrated from https://github.com/dotnet/coreclr/commit/
17c64ff8fa9651419e0e4ca7fe3dcd719f88a685
Pat Gavlin [Mon, 17 Oct 2016 22:10:06 +0000 (15:10 -0700)]
Merge pull request dotnet/coreclr#7661 from pgavlin/FixInteropTestCC
Fix calling conventions in ByValArray test.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f3cef5bf091c6e8b44ce61ca7335f9ee794a25b6
Eric Mellino [Mon, 17 Oct 2016 22:07:52 +0000 (15:07 -0700)]
Merge pull request dotnet/coreclr#7668 from mellinoe/alpine-rids
Add native package projects for alpine.3.4.3-x64
Commit migrated from https://github.com/dotnet/coreclr/commit/
25a5ef7ca464f674d3ea72031532a2541932af4d
William Godbe [Mon, 17 Oct 2016 20:49:55 +0000 (13:49 -0700)]
Merge pull request dotnet/coreclr#6613 from wtgodbe/packagebuilds
Use packages.builds when generating nuget packages
Commit migrated from https://github.com/dotnet/coreclr/commit/
28e1653a673d7ed86b523af8227ba1d5d037ae45
Eric Mellino [Mon, 17 Oct 2016 20:16:05 +0000 (13:16 -0700)]
Add new alpine packages to pkg .builds and .pkgproj files
Commit migrated from https://github.com/dotnet/coreclr/commit/
39d735eb309eba3e249f34d19ede9678cd3c0735
Eric Mellino [Mon, 17 Oct 2016 20:11:13 +0000 (20:11 +0000)]
Allow Alpine to build System.Private.CoreLib
Commit migrated from https://github.com/dotnet/coreclr/commit/
b73909cc0e0d5c0e51eb6780f7cfb587357a0617
Eric Mellino [Mon, 17 Oct 2016 19:51:20 +0000 (19:51 +0000)]
Allow alpine to run init-tools.sh
Commit migrated from https://github.com/dotnet/coreclr/commit/
a4675766d9dd85ab23e7865bc25d650c9dc66019
Eric Mellino [Mon, 17 Oct 2016 19:49:15 +0000 (12:49 -0700)]
Add alpine.3.4.3-x64 nuget package definitions
Commit migrated from https://github.com/dotnet/coreclr/commit/
bd653dd81092c314aff4d792c305009205d839fa
Alex Perovich [Mon, 17 Oct 2016 19:46:43 +0000 (12:46 -0700)]
Add missing ns2.0 InteropServices apis to model.xml (dotnet/coreclr#7606)
* Add missing ns2.0 InteropServices apis to model.xml
* Remove RuntimeEnvironment
* Remove functions that need vm changes.
Commit migrated from https://github.com/dotnet/coreclr/commit/
92d90defcec311ea494994a40c94ede00892dc54
Koundinya Veluri [Mon, 17 Oct 2016 17:17:02 +0000 (10:17 -0700)]
Expose RuntimeThread.Yield, fix warning
Related to dotnet/corefx#dotnet/coreclr#11632
Commit migrated from https://github.com/dotnet/coreclr/commit/
87bc47d1a310dfb50a9468aaa2c6f6cda58c0042
wtgodbe [Tue, 6 Sep 2016 22:17:04 +0000 (15:17 -0700)]
Build tests against packages & produce Core_Root for arbitrary OS
Commit migrated from https://github.com/dotnet/coreclr/commit/
69ab16ac55d423935dd40c12237903b0c3a0c170
Pat Gavlin [Mon, 17 Oct 2016 17:32:32 +0000 (10:32 -0700)]
Fix calling conventions in ByValArray test.
The managed code was assuming WINAPI, but the native code was defaulting
to cdecl. This causes GC stress failures on x86.
Commit migrated from https://github.com/dotnet/coreclr/commit/
102256eae12c178ab294aecde2c7820c707781cf
Dmitry-Me [Mon, 17 Oct 2016 16:56:37 +0000 (19:56 +0300)]
Fix broken #elif (dotnet/coreclr#7656)
Commit migrated from https://github.com/dotnet/coreclr/commit/
27c00018be793ad5cb9d7b2d2d4fcae497963ccc
Gaurav Khanna [Mon, 17 Oct 2016 16:55:29 +0000 (09:55 -0700)]
Merge pull request dotnet/coreclr#7639 from gkhanna79/ArmChkCIRemoval
Only run Debug and Release WinArm32 PR Builds
Commit migrated from https://github.com/dotnet/coreclr/commit/
1e174371771ac5f92999a978237a9b2c8364db9c
Dan Moseley [Mon, 17 Oct 2016 16:16:54 +0000 (09:16 -0700)]
Add missing ApplicationException derivations (dotnet/coreclr#7647)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4b4f70ff368b955469b2657f825b3c450258ab4e
Koundinya Veluri [Mon, 17 Oct 2016 14:37:14 +0000 (07:37 -0700)]
Fix for desktop build of Thread class to add back members that were moved to RuntimeThread, to bypass ApiConformance issues during build.
[tfs-changeset: 1633583]
Commit migrated from https://github.com/dotnet/coreclr/commit/
ef146cf0f6e313a9c5412951bd0bf88903ce67aa
Dmitry-Me [Mon, 17 Oct 2016 04:05:11 +0000 (07:05 +0300)]
Don't return pointer to already deleted object (dotnet/coreclr#3483)
Commit migrated from https://github.com/dotnet/coreclr/commit/
bc6bd52c44209647bc2541dad55a05cb2058f76f
Hyeongseok Oh [Mon, 17 Oct 2016 04:03:58 +0000 (13:03 +0900)]
Fix dotnet/coreclr#7391: Test for DateTime string parsing (dotnet/coreclr#7475)
Commit migrated from https://github.com/dotnet/coreclr/commit/
881ee7f681cd426fc7150dafbdb3a151b862c8f2
Russell C Hadley [Mon, 17 Oct 2016 02:35:54 +0000 (19:35 -0700)]
Merge pull request dotnet/coreclr#7340 from russellhadley/MoveCSEtoBitVec
Add code to switch to BitVec data structure in CSE optimization.
Commit migrated from https://github.com/dotnet/coreclr/commit/
978e26bfe641eb7d8c3f34b8526020cf97d05c9a
Gaurav Khanna [Sun, 16 Oct 2016 22:07:20 +0000 (15:07 -0700)]
Skip generating CI job for WinArm32 Checked
Commit migrated from https://github.com/dotnet/coreclr/commit/
7f487944b23b1e3034465dd08986cd4106c68b0d
Gaurav Khanna [Sun, 16 Oct 2016 15:37:28 +0000 (08:37 -0700)]
Merge pull request dotnet/coreclr#1965 from lasombra/patch-1
Update linux-instructions.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
09f38a8a4b8314a4e3e4c9fde2754d8152496684
Gaurav Khanna [Sun, 16 Oct 2016 15:35:42 +0000 (08:35 -0700)]
Merge pull request dotnet/coreclr#7640 from dotnet-bot/master-UpdateDependencies
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4677f2e231ae8c504c9626e2d03e927f27a44173
LaSombra [Sun, 16 Oct 2016 12:30:24 +0000 (13:30 +0100)]
Update linux-instructions.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
aabd80225781517a8a0696a35772b160e9cc0732
LaSombra [Sun, 16 Oct 2016 12:17:20 +0000 (13:17 +0100)]
Update linux-instructions.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
2b92691f2dafb88ac94b3a5aa12849717f774baa
LaSombra [Sun, 16 Oct 2016 12:13:14 +0000 (13:13 +0100)]
Update linux-instructions.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
860f3a0c4aa5822d250ad015dff23e03de072822
LaSombra [Sun, 16 Oct 2016 12:12:10 +0000 (13:12 +0100)]
Update linux-instructions.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
fb852718a89ef67704f12a61cbb91deb37b96a52
dotnet-bot [Sun, 16 Oct 2016 08:25:58 +0000 (08:25 +0000)]
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively
Commit migrated from https://github.com/dotnet/coreclr/commit/
01acd94e9ff84a2fee8924b5d52a73956fc6ddb6
Gaurav Khanna [Sun, 16 Oct 2016 03:57:00 +0000 (20:57 -0700)]
Only run Debug and Release WinArm32 PR Builds
Commit migrated from https://github.com/dotnet/coreclr/commit/
71efe7755828ca2e64664b555adf1c86bae2f3fe
Stephen Toub [Sun, 16 Oct 2016 02:27:55 +0000 (22:27 -0400)]
Merge pull request dotnet/coreclr#7630 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
78c7b15569866b66b2ef73075ad2bd284eab961e
Gaurav Khanna [Sun, 16 Oct 2016 01:52:00 +0000 (18:52 -0700)]
Merge pull request dotnet/coreclr#7632 from dotnet/revert-7213-revert-7123-WinArm32CI
Re-Enable Win32Arm CI support
Commit migrated from https://github.com/dotnet/coreclr/commit/
880e78ed06eb4c67c215c8bec520e9b3ca29febe
dotnet-bot [Sun, 16 Oct 2016 00:21:39 +0000 (00:21 +0000)]
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively
Commit migrated from https://github.com/dotnet/coreclr/commit/
a657622b975b96d6f49364efb336e0a48ba128fc
Gaurav Khanna [Sun, 16 Oct 2016 00:14:21 +0000 (17:14 -0700)]
Merge pull request dotnet/coreclr#7637 from gkhanna79/FixArm32Build
Few more fixes for WinArm32 CI build.
Commit migrated from https://github.com/dotnet/coreclr/commit/
dd22bb118725b346b98d7f96cbf8583649fc2dba
Gaurav Khanna [Sat, 15 Oct 2016 21:06:23 +0000 (14:06 -0700)]
Few more fixes for WinArm32 CI build.
Commit migrated from https://github.com/dotnet/coreclr/commit/
fcbedc50021fb4aa8752c91c7605ab4f4f0b5989
Justin Van Patten [Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)]
String.SplitInternal: Remove unnecessary stackalloc (dotnet/coreclr#7623)
Simply take the address of the `char` instead of stackallocating a
`char[1]`.
Commit migrated from https://github.com/dotnet/coreclr/commit/
830b3977f28daad665a26d4e5b127af1a48e6596
Rama krishnan Raghupathy [Sat, 15 Oct 2016 06:52:15 +0000 (23:52 -0700)]
Merge pull request dotnet/coreclr#7633 from ramarag/master
Exposing Gc.TryStartNoGCRegion
Commit migrated from https://github.com/dotnet/coreclr/commit/
e90d6ef97f5d65fcfc82955db02c0ccfbb36bdd4
Rama krishnan Raghupathy [Sat, 15 Oct 2016 05:19:39 +0000 (22:19 -0700)]
Merge pull request dotnet/coreclr#7631 from ramarag/Activator
Throwing PlatformNotSupportedException for ActivationAttributes
Commit migrated from https://github.com/dotnet/coreclr/commit/
1f9a08d4647a3367858f790f4e1c33eb745ca41a
Gaurav Khanna [Sat, 15 Oct 2016 02:27:06 +0000 (19:27 -0700)]
Revert "Revert "Enable Win32Arm CI support""
Commit migrated from https://github.com/dotnet/coreclr/commit/
1249aa63a1ec31a6f1c1f4b201cad16d77f9c74c
Gaurav Khanna [Sat, 15 Oct 2016 02:25:38 +0000 (19:25 -0700)]
Merge pull request dotnet/coreclr#7629 from gkhanna79/FixArmSdkDetection
Explicitly specify the Windows SDK version for CMake.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7a02a9341b0681660ca7f394a980b4b888800f8b
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 02:15:10 +0000 (19:15 -0700)]
Exposing Gc.TryStartNoGCRegion
Commit migrated from https://github.com/dotnet/coreclr/commit/
a291019569e0a9771a49f7fe5b632f061853452c
Gaurav Khanna [Sat, 15 Oct 2016 02:09:58 +0000 (19:09 -0700)]
Merge pull request dotnet/coreclr#7622 from gkhanna79/SimplifyExtVer
Simplify External Package Versioning.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1e69ba0a572baed68484e2d15580340601304d60
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 01:01:44 +0000 (18:01 -0700)]
Throwing PlatformNotSupportedException for ActivationAttributes
Commit migrated from https://github.com/dotnet/coreclr/commit/
997fd848c53d75890a7072ab3f55b4eb6c2e244f
Jonghyun Park [Sat, 15 Oct 2016 00:33:33 +0000 (09:33 +0900)]
Allows not to build LLDBPLUGIN (dotnet/coreclr#7390)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ae2c112b644293f24107b5ed133a65d4a7dd2c5f
Gaurav Khanna [Sat, 15 Oct 2016 00:03:00 +0000 (17:03 -0700)]
Explicitly specify the Windows SDK version for CMake.
Commit migrated from https://github.com/dotnet/coreclr/commit/
cb608b92605772afea32831c9b8186ab0f2203af
Jan Kotas [Sat, 15 Oct 2016 00:02:25 +0000 (17:02 -0700)]
Merge pull request dotnet/coreclr#7627 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
8bb25719e1c03adac47ad7d3c2bb03b43e9ca0dc
Russell C. Hadley [Fri, 5 Aug 2016 23:07:21 +0000 (16:07 -0700)]
Add code to switch to bitvec datastructure in cse optimization.
This change will allow us to track more than 64 cse candidates.
Initally the data structure is set to the same limits (64) as is
currently used. This gives us a no diffs. Subsequent changes
will change these limits based on opportunities found in the benchmarks.
Commit migrated from https://github.com/dotnet/coreclr/commit/
213468245fd42ec6829635c6f300f1aef972e26a
Jan Kotas [Fri, 14 Oct 2016 21:44:50 +0000 (14:44 -0700)]
Fix build breaks
[tfs-changeset: 1633395]
Commit migrated from https://github.com/dotnet/coreclr/commit/
706f5116f6b3a62460fd0ff9817c1b63c036197e
Sven Boemer [Fri, 14 Oct 2016 21:05:08 +0000 (14:05 -0700)]
NullReferenceException APIs (dotnet/coreclr#7338)
* add typeID APIs
* add variable home API
Commit migrated from https://github.com/dotnet/coreclr/commit/
37606601b6293e9c46f4d7cc614b9304fed7647b
David Mason [Fri, 14 Oct 2016 19:49:45 +0000 (12:49 -0700)]
Merge pull request dotnet/coreclr#7591 from vancem/ActivitiesForListeners.10-13-16
TFS Bug 274079: Activity Tracking does not work with EventListeners
Commit migrated from https://github.com/dotnet/coreclr/commit/
e1a43763a1aa8e08d023cfc9d4f1e9bb88553793
Jiyoung Giuliana Yun [Fri, 14 Oct 2016 19:02:09 +0000 (04:02 +0900)]
Update the header string in runtest.sh (dotnet/coreclr#5785)
Replace 'bc' with the bash expr.
Add the countTotalTests numbers to headers depends on verbose option.
Fix dotnet/coreclr#5677
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
6611f1222a7b45d0110e988f16fae5da50b3248a
Hanjoung Lee [Fri, 14 Oct 2016 19:00:50 +0000 (04:00 +0900)]
Add RunBenchmarks.sh for unix-like systems (dotnet/coreclr#6471)
Usage is basically the same as RunBenchmarks.cmd.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9b7f01a15eba1122516d4c566bc60c3c57cbaa22
Koundinya Veluri [Fri, 14 Oct 2016 18:55:02 +0000 (11:55 -0700)]
Merge pull request dotnet/coreclr#4056 from svick/threadpoolglobals-readonly
Make fields in ThreadPool readonly/const where possible
Commit migrated from https://github.com/dotnet/coreclr/commit/
c944e13d66ddc09bc1f7f35e252a9f0837601348
Tarek Mahmoud Sayed [Fri, 14 Oct 2016 18:26:52 +0000 (11:26 -0700)]
Enable RegionInfo netstandard 1.7 APIs (dotnet/coreclr#7604)
* Enable RegionInfo netstandard 1.7 APIs
* Fix the typo
* lowercase TRUE and FALSE
Commit migrated from https://github.com/dotnet/coreclr/commit/
c449879e7a1ec2556bcb157e86e25a8517e9bacb
Andy Ayers [Fri, 14 Oct 2016 18:06:36 +0000 (11:06 -0700)]
Merge pull request dotnet/coreclr#7580 from benaadams/flag-doesnot-return-early
Flag does_not_return early
Commit migrated from https://github.com/dotnet/coreclr/commit/
ff3ab00d20dcf514e33c547c2c7142a626917833
Gaurav Khanna [Fri, 14 Oct 2016 18:01:29 +0000 (11:01 -0700)]
Merge pull request dotnet/coreclr#7620 from dotnet-bot/master-UpdateDependencies
Update CoreClr to beta-24614-03 (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
75111e6c704ff93eda8852b6a9fa3332e69c44f4
Gaurav Khanna [Fri, 14 Oct 2016 17:59:54 +0000 (10:59 -0700)]
Fix stable version for external dependency
Commit migrated from https://github.com/dotnet/coreclr/commit/
ac192d0abbd5bd11e84e731e34b23503f8985962
Gaurav Khanna [Fri, 14 Oct 2016 17:56:09 +0000 (10:56 -0700)]
Simplify External Dependency versioning
Commit migrated from https://github.com/dotnet/coreclr/commit/
2c5c3ba4454cf286b22c9795252b9863a091faa4
Davis Goodin [Fri, 14 Oct 2016 16:58:54 +0000 (11:58 -0500)]
Change warning to error for test asset framework issues. (dotnet/coreclr#6535)
Commit migrated from https://github.com/dotnet/coreclr/commit/
0f89bd29d3f77a1a6f5a4764d0747270fc89e4a5
dotnet-bot [Fri, 14 Oct 2016 16:19:55 +0000 (16:19 +0000)]
Update CoreClr to beta-24614-03
Commit migrated from https://github.com/dotnet/coreclr/commit/
e45ff803b982675ed84b31713f2251287367b61b
Bruce Forstall [Fri, 14 Oct 2016 15:55:25 +0000 (08:55 -0700)]
Remove DEBUGGING_SUPPORT #ifdef (dotnet/coreclr#7611)
This is always on. It hadn't been turned off in a long, long
time, if ever, and we don't expect to ever turn it off.
Commit migrated from https://github.com/dotnet/coreclr/commit/
13fd17f72c5c311d8a4a685310d14b536d568bcd
dotnet bot [Fri, 14 Oct 2016 15:55:03 +0000 (08:55 -0700)]
Update CoreClr, CoreFx, External to beta-24614-02, beta-24614-01, beta-24614-00, respectively (dotnet/coreclr#7615)
Commit migrated from https://github.com/dotnet/coreclr/commit/
f8c3968a769c8a847fd122cba6c08bada33c3552
Jan Kotas [Fri, 14 Oct 2016 15:54:15 +0000 (08:54 -0700)]
Merge pull request dotnet/coreclr#7616 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
ff76c81244d6089f364eb1813cf830e9bd7d9652
Ben Adams [Fri, 14 Oct 2016 14:19:41 +0000 (15:19 +0100)]
SpinLock.TryEnter fail fast for timeout 0 (dotnet/coreclr#6952)
* SpinLock.TryEnter fail fast for timeout 0 (2)
* Don't over check SpinLock timeout
When 1ms unlikely to have passed
Commit migrated from https://github.com/dotnet/coreclr/commit/
0855b70b2542de60592cba7fe1c91bedb55566f4
Dmitry-Me [Fri, 14 Oct 2016 14:02:00 +0000 (17:02 +0300)]
Clarify code with unobvious precedence (dotnet/coreclr#1624)
Commit migrated from https://github.com/dotnet/coreclr/commit/
24131889e148c5c4aa326429d904743160c973be
Koundinya Veluri [Fri, 14 Oct 2016 05:18:23 +0000 (22:18 -0700)]
I had unintentionally excluded RuntimeThread.cs when FeatureCoreClr is false. Since parts of Thread.cs were refactored into RuntimeThread, including RuntimeThread.cs always.
[tfs-changeset: 1633304]
Commit migrated from https://github.com/dotnet/coreclr/commit/
46e5ca1e080b7c09052665b9c23437b2c58cc78d
sandreenko [Fri, 14 Oct 2016 03:54:57 +0000 (20:54 -0700)]
Merge pull request dotnet/coreclr#7605 from sandreenko/core_rt_1982
Lower helper call inside PInvoke
Commit migrated from https://github.com/dotnet/coreclr/commit/
8ae6134fcec8fb50ccd0de07c2d167024fca570d
Pat Gavlin [Thu, 13 Oct 2016 23:59:33 +0000 (16:59 -0700)]
Merge pull request dotnet/coreclr#7603 from pgavlin/FixInteropTest
Fix a calling convention in SimpleStructNative.
Commit migrated from https://github.com/dotnet/coreclr/commit/
23bbcded42863b8fdac3f1018c698cd21803db44
kvochko [Thu, 13 Oct 2016 22:17:08 +0000 (01:17 +0300)]
Enable DoStackSnapshot API on ARM to walk the current thread (dotnet/coreclr#6933)
Commit migrated from https://github.com/dotnet/coreclr/commit/
c0a8c47df1cec6ee6060e36392b6ea30bd042eac
Sergey Andreenko [Thu, 13 Oct 2016 22:08:25 +0000 (15:08 -0700)]
Lower helper call inside PInvoke
Lowering can create a helper call. The helper call is inserted to the
part of the block, that was lowered. So the helper call should be
lowered independently.
Commit migrated from https://github.com/dotnet/coreclr/commit/
2c8352e34bde086d24cdade273b361c988f3d15c
Peter Marcu [Thu, 13 Oct 2016 21:55:50 +0000 (14:55 -0700)]
Merge pull request dotnet/coreclr#2192 from dasMulli/random-seeding-improvements
System.Random: Parameterless constructor seeding improvement dotnet/coreclr#1919
Commit migrated from https://github.com/dotnet/coreclr/commit/
19ad9ddb519084a75b48fe56bba24e67500e7ca3
smile21prc [Thu, 13 Oct 2016 20:38:36 +0000 (13:38 -0700)]
Merge pull request dotnet/coreclr#7602 from smile21prc/coreclr-perf
Make coreclr Windows perf run versionless on benchview binaries
Commit migrated from https://github.com/dotnet/coreclr/commit/
0a196017d8fbd76bc4a36c6452f3af7c3bb339d9
Vance Morrison [Thu, 13 Oct 2016 20:10:12 +0000 (13:10 -0700)]
Added Docs for Using Visual Studio to Edit and Debug in CoreCLR Repo (dotnet/coreclr#7582)
Commit migrated from https://github.com/dotnet/coreclr/commit/
b73eb6032205bd0603e0bdcf5b4305997ed00e08
Jan Kotas [Thu, 13 Oct 2016 20:09:00 +0000 (13:09 -0700)]
Merge pull request dotnet/coreclr#7600 from jkotas/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively
Commit migrated from https://github.com/dotnet/coreclr/commit/
d82177eedb868353ab3a42c1cf503bcc28ed741b
Pat Gavlin [Thu, 13 Oct 2016 19:38:43 +0000 (12:38 -0700)]
Merge pull request dotnet/coreclr#7593 from pgavlin/DisableGCStressTest
Disable a test that is not compatible with GC stress.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0e329a76c977dd4c5d5318da1a81b00e77999a96
Pat Gavlin [Thu, 13 Oct 2016 19:35:48 +0000 (12:35 -0700)]
Fix a calling convention in SimpleStructNative.
The managed code expects `GetFptr` to have the `stdcall` calling
convention. Because of the mismatch, the JIT-generated code was not
cleaning up the stack after P/Invoking to this function on x86, which
was causing a failure during GC stress.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d84d2e4921cea1895b5ecb750604ca29d86eec4b
Smile Wei [Thu, 13 Oct 2016 18:59:21 +0000 (11:59 -0700)]
Make coreclr Windows perf run versionless on benchview so they won't be broken by benchview updates.
Commit migrated from https://github.com/dotnet/coreclr/commit/
fc7080a2a45cb052c78e0f1a299612b657ee006f
Jan Kotas [Thu, 13 Oct 2016 08:11:47 +0000 (01:11 -0700)]
Update tests to netcoreapp1.1
Commit migrated from https://github.com/dotnet/coreclr/commit/
1cbddb3274075c31b71c9a770464b744fc3751b5
Pat Gavlin [Wed, 12 Oct 2016 22:13:52 +0000 (15:13 -0700)]
Disable a test that is not compatible with GC stress.
This test fails under GCStress=0xC for all of RyuJIT/x86, legacy backend
x86, and JIT32.
Commit migrated from https://github.com/dotnet/coreclr/commit/
7535cba9d3a19569bb14b431e27a084a15f68e63
dasMulli [Thu, 13 Oct 2016 06:19:52 +0000 (08:19 +0200)]
Addressed PR feedback.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d6aadf7ade76b443c74e677ef5030c91b563ceab
Ben Adams [Thu, 13 Oct 2016 00:04:11 +0000 (01:04 +0100)]
Move up DOES_NOT_RETURN more
Commit migrated from https://github.com/dotnet/coreclr/commit/
29d7af4f35d0b1dffe9c0ce144f8fb4f3e738136