dotnet-maestro-bot [Wed, 30 May 2018 23:50:48 +0000 (16:50 -0700)]
Update PgoData to release-
20180530-0051 (#18194)
Matt Mitchell [Tue, 29 May 2018 22:27:30 +0000 (15:27 -0700)]
Update branding to 2.1.1 (#18161)
Wes Haggard [Tue, 29 May 2018 20:24:04 +0000 (13:24 -0700)]
Merge pull request #17998 from dotnet-maestro-bot/release/2.1-UpdateDependencies
Update CoreClr, CoreFx, PgoData to rtm-26515-07, rtm, release-
20180529-0037, respectively (release/2.1)
Wes Haggard [Tue, 29 May 2018 18:31:19 +0000 (11:31 -0700)]
Update dependencies to rtm
dotnet-maestro-bot [Tue, 29 May 2018 07:53:02 +0000 (00:53 -0700)]
Update CoreClr, CoreFx, PgoData to rtm-26515-07, rtm, release-
20180529-0037, respectively
dotnet-maestro-bot [Mon, 14 May 2018 17:37:38 +0000 (12:37 -0500)]
Update CoreClr, CoreFx, PgoData to rtm-26514-02, rtm-26514-02, release-
20180514-0049, respectively (#17987)
Jarret Shook [Fri, 11 May 2018 21:55:05 +0000 (14:55 -0700)]
Merge pull request #17965 from jashook/port_build_test_sh_changes
Port build-test.sh changes from master to release/2.1
Steve MacLean [Fri, 4 May 2018 19:53:44 +0000 (15:53 -0400)]
Split unix test builds in slices (#17785)
* Split unix test builds in slices
Ports #17161 to linux
* Address review feedback
Jarret Shook [Tue, 24 Apr 2018 20:51:06 +0000 (13:51 -0700)]
Merge pull request #17725 from dotnetrt/FixNixTestBuild
Fix unix test build by removing unnecessary 'managed_test_build' semafore file
dotnet-maestro-bot [Wed, 9 May 2018 13:22:09 +0000 (08:22 -0500)]
Update CoreClr, CoreFx to rtm-26508-04, rtm-26508-03, respectively (#17927)
dotnet-maestro-bot [Mon, 7 May 2018 20:50:19 +0000 (15:50 -0500)]
Update CoreClr, CoreFx to rtm-26505-03, rtm-26505-03, respectively (#17892)
dotnet-maestro-bot [Sat, 5 May 2018 01:44:13 +0000 (20:44 -0500)]
Update BuildTools to rc1-02804-05 (#17885)
Bruce Forstall [Wed, 25 Apr 2018 20:34:16 +0000 (13:34 -0700)]
Fix for ARM secure delegate non-standard register arg
For ARM, doing a secure delegate call requires adding
a custom calling convention argument R4 as the address of the
secure delegate invoke indirection cell. This is done using the
fgMorphArgs nonStandardArgs mechanism, and the argument is added
at the end. For calls with 4 or more register arguments, this
didn't work: we would initially set the non-standard arg as a
non-register argument, and the nonStandardArgs check didn't
consider converting an argument from a stack argument back to
a register argument. The fix allows nonStandardArgs to be either
stack or register arguments, no matter what their place in the
argument list would imply.
Fixes #17738
dotnet-maestro-bot [Fri, 4 May 2018 20:09:39 +0000 (15:09 -0500)]
Update CoreClr, CoreFx to rtm-26504-02, rtm-26504-02, respectively (#17883)
dotnet-maestro-bot [Fri, 4 May 2018 13:59:53 +0000 (08:59 -0500)]
Update BuildTools, CoreClr, CoreFx to rc1-02803-01, rtm-26502-03, rtm-26502-02, respectively (#17874)
Ricardo Arenas [Thu, 3 May 2018 23:12:05 +0000 (16:12 -0700)]
Merge pull request #17875 from riarenas/riarenas/revert-private-intermediate-containers
Revert "Make blobfeed containers private. (#17792)"
Ricardo Arenas [Thu, 3 May 2018 18:42:38 +0000 (11:42 -0700)]
Revert "Make blobfeed containers private. (#17792)"
This reverts commit
4950b038c84c223ddd9fc198dcf5722d46e21552.
dotnet-maestro-bot [Thu, 3 May 2018 02:22:15 +0000 (21:22 -0500)]
Update BuildTools, PgoData to rc1-02801-02, release-
20180502-0048, respectively (#17860)
Ricardo Arenas [Wed, 2 May 2018 18:37:48 +0000 (11:37 -0700)]
Make blobfeed containers private. (#17792)
Noah Falk [Tue, 1 May 2018 23:43:03 +0000 (16:43 -0700)]
Add runtimeconfig.json support for tiered compilation (#17839)
dotnet-maestro-bot [Tue, 1 May 2018 20:27:06 +0000 (15:27 -0500)]
Update PgoData to release-
20180501-0050 (#17849)
Wes Haggard [Tue, 1 May 2018 17:15:45 +0000 (10:15 -0700)]
Merge pull request #17846 from weshaggard/FixSourceBuild
Switch source build property to DotNetBuildFromSource
Sung Yoon Whang [Tue, 1 May 2018 10:02:22 +0000 (03:02 -0700)]
Disable GC Coop mode switching during fatal error handling during GC exception (#17710) (#17844)
Mike McLaughlin [Tue, 1 May 2018 00:26:05 +0000 (17:26 -0700)]
Add better portable PDB caching to System.Diagnostics.StackTrace. (#17804) (#17842)
Add portable PDB caching to StackTrace.
This is the mscorlib side of the change.
Wes Haggard [Mon, 30 Apr 2018 23:47:09 +0000 (16:47 -0700)]
Switch source build property to DotNetBuildFromSource
Detect source-build via DotNetBuildFromSource instead of
DotNetBuildOffline which is set for the tarball build.
Russ Keldorph [Mon, 30 Apr 2018 21:44:53 +0000 (14:44 -0700)]
Move from rc1 to rtm prerelease label
Carol Eidt [Tue, 24 Apr 2018 22:18:12 +0000 (15:18 -0700)]
Initialize Compiler::Vector128/256ULongHandle in compInit
Wes Haggard [Mon, 30 Apr 2018 21:02:36 +0000 (14:02 -0700)]
Merge pull request #17779 from weshaggard/RemoveAlpineBuilds
[release/2.1] Remove Alpine 3.6 builds
Brian Robbins [Mon, 30 Apr 2018 20:56:02 +0000 (13:56 -0700)]
Update ARM32 Cross Build Docker Image (#17819) (#17834)
dotnet-maestro-bot [Mon, 30 Apr 2018 20:53:38 +0000 (15:53 -0500)]
Update BuildTools, CoreClr, CoreFx, PgoData to rc1-02726-01, rc1-26423-02, rc1-26423-06, release-
20180430-0045, respectively (#17696)
Jan Kotas [Mon, 30 Apr 2018 20:53:02 +0000 (13:53 -0700)]
Don't optimize away Task code needed for debugger (#17786)
This prevents the IL linker from optimizing away some properties/methods
related to tasks that are used by a debugger but are not referenced
anywhere else in coreclr.
This specifically fixes async callstack frames for the xplat C# debugger.
Stephen Toub [Mon, 30 Apr 2018 20:45:19 +0000 (13:45 -0700)]
Fix Number.ParseNumber to not assume '\0' at the end of a span (#17808) (#17820)
* Fix Number.ParseNumber to not assume '\0' at the end of a span
This routine was written for parsing strings, which are implicitly null-terminated, and it doesn't factor in string length but instead uses tricks to exit loops when the next character is null. Now that the routine is also used for spans, this is very problematic, as spans need not be null terminated, and generally aren't when they represent slices, and expecting a null termination like this can result in walking off the end of valid memory.
I would like to see all of this code rewritten to use span. In the interim, though, as a short-term fix I've changed all dereferences of the current position to compare against the length of the span (or, rather, a pointer to the end), and pretend that a null terminator was found if we've hit the end.
* Address PR feedback
Wes Haggard [Tue, 24 Apr 2018 00:50:28 +0000 (17:50 -0700)]
Remove Alpine 3.6 builds
The alpine 3.6 builds have been replaced with the more generic
linux-musl builds so removing them.
Matt Mitchell [Mon, 23 Apr 2018 16:13:51 +0000 (09:13 -0700)]
Make intra-build containers private (#17682)
Make intra-build containers private
Jan Kotas [Sat, 21 Apr 2018 20:30:43 +0000 (13:30 -0700)]
Use volatile load to read brick table entries (#17718)
Fixes #17716
Sergey Andreenko [Wed, 18 Apr 2018 07:23:59 +0000 (00:23 -0700)]
disable DevDiv_255294 in stress modes. (#17618)
Ahson Khan [Sat, 21 Apr 2018 04:03:59 +0000 (21:03 -0700)]
Preserve pinned flag in {ReadOnly}Memory<T>.Slice (dotnet/corefx#29246) (#17712) (#17714)
* Preserve pinned flag in {ReadOnly}Memory<T>.Slice
* Address PR feedback.
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Dan Moseley [Sat, 21 Apr 2018 02:26:22 +0000 (19:26 -0700)]
Port two changes from CoreFX missed by mirror: (#17713)
commit
b4d701a72c20b695715371a99b48473053b63250
Author: Ahson Khan <ahkha@microsoft.com>
Date: Wed Apr 11 13:43:36 2018 -0700
Add CreateFromPinnedArray to System.Memory ref and add tests (#28992)
* Fixing bug in Memory.Pin and adding API to uapaot baseline
commit
76e01040fcfdb1c652ef1bf4e8e123c7db4e1be8
Author: Ahson Khan <ahkha@microsoft.com>
Date: Mon Apr 16 01:54:54 2018 -0700
Update xml comment for {ReadOnly}Memory.Pin method (#29137)
Sergey Andreenko [Fri, 20 Apr 2018 08:28:19 +0000 (01:28 -0700)]
fix DevDiv_601045 assert (#17685)
Wes Haggard [Thu, 19 Apr 2018 21:44:17 +0000 (14:44 -0700)]
Merge pull request #17489 from dotnet-maestro-bot/release/2.1-UpdateDependencies
Update BuildTools, CoreClr, CoreFx, PgoData to rc1-02719-01, rc1-26419-03, rc1-26419-03, release-
20180419-0038, respectively (release/2.1)
Wes Haggard [Thu, 19 Apr 2018 21:36:48 +0000 (14:36 -0700)]
Merge pull request #17675 from weshaggard/addlinuxmusl21
[release/2.1] Add linux-musl build leg
Tarek Mahmoud Sayed [Thu, 19 Apr 2018 20:14:12 +0000 (13:14 -0700)]
Fix reading Time zone rules using Julian days (#17672)
Matt Mitchell [Thu, 19 Apr 2018 19:55:54 +0000 (12:55 -0700)]
Remove debug/checked builds (#17663)
The debug/checked builds don't publish and aren't submitted for testing currently. To reduce resource usage during the build, do not build these pipelines for now.
dotnet-maestro-bot [Thu, 19 Apr 2018 19:49:19 +0000 (12:49 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to rc1-02719-01, rc1-26419-03, rc1-26419-03, release-
20180419-0038, respectively
Wes Haggard [Wed, 18 Apr 2018 17:19:36 +0000 (10:19 -0700)]
Fix OutputRID for linux-musl official build
Need to include the `-x64` in the output rid.
Wes Haggard [Tue, 17 Apr 2018 20:06:33 +0000 (13:06 -0700)]
Add linux-musl build leg
Matt Mitchell [Thu, 19 Apr 2018 03:25:32 +0000 (20:25 -0700)]
Skip container creation (#17655)
Skip container creation if not in flatcontainer mode
Container creation isn't required and would be incorrect if the ExpectedFeedUrl's account name didn't match AccountName
Carol Eidt [Wed, 18 Apr 2018 20:34:59 +0000 (13:34 -0700)]
Merge pull request #17615 from CarolEidt/Port17575To2.1
[Arm64] Disable SIMD in crossgen (added as part of #14633)
Carol Eidt [Wed, 18 Apr 2018 20:34:39 +0000 (13:34 -0700)]
Merge pull request #17616 from CarolEidt/Port17560To2.1
Fix extra register-dependency on mem-form cvtsd/s2ss
Sergey Andreenko [Wed, 18 Apr 2018 06:25:44 +0000 (23:25 -0700)]
Fix GC tests. (#17594) (#17613)
* Fix dlbigleak
* cleanup dlstack
* Fix doublinknoleak
* Fix doublinkstay
* Fix dlcollect
* Fix doublinkgen
* Fix dlbigleakthd
Carol Eidt [Tue, 17 Apr 2018 18:38:48 +0000 (11:38 -0700)]
Fix extra register-dependency on mem-form cvtsd/s2ss
Carol Eidt [Tue, 17 Apr 2018 18:30:19 +0000 (11:30 -0700)]
[Arm64] Disable SIMD in crossgen (added as part of #14633)
Bruce Forstall [Tue, 17 Apr 2018 00:35:31 +0000 (17:35 -0700)]
Merge pull request #17599 from BruceForstall/CleanupUbunuArmBuildMachine_2.1
Cleanup ubuntu arm build machine 2.1
Russ Keldorph [Mon, 16 Apr 2018 23:28:48 +0000 (16:28 -0700)]
Merge pull request #17586 from RussKeldorph/21last
Merge master into release/2.1
Bruce Forstall [Mon, 16 Apr 2018 18:09:06 +0000 (11:09 -0700)]
Clean up Ubuntu arm build machines
Russ Keldorph [Mon, 16 Apr 2018 17:25:09 +0000 (10:25 -0700)]
Set prerelease label to rc1
Russ Keldorph [Mon, 16 Apr 2018 17:24:20 +0000 (10:24 -0700)]
Merge commit 'master' into release/2.1
dotnet-maestro-bot [Mon, 16 Apr 2018 06:43:04 +0000 (01:43 -0500)]
Update CoreClr, CoreFx, PgoData to preview3-26416-01, preview3-26416-01, master-
20180415-0051, respectively (#17540)
Steve MacLean [Sun, 15 Apr 2018 21:36:04 +0000 (17:36 -0400)]
[Arm64] Add full barrier after locking operations (#17567)
Bruce Forstall [Sat, 14 Apr 2018 20:30:21 +0000 (13:30 -0700)]
Merge pull request #17569 from dotnet/dev/unix_test_workflow
Don't use runtesttilstable script for Ubuntu arm jobs
Bruce Forstall [Sat, 14 Apr 2018 18:11:28 +0000 (11:11 -0700)]
Avoid creating illegal byref pointers (#17524)
Byref pointers need to point within their "host" object -- thus
the alternate name "interior pointers". If the JIT creates and
reports a pointer as a "byref", but it points outside the host
object, and a GC occurs that moves the host object, the byref
pointer will not be updated. If a subsequent calculation puts
the byref "back" into the host object, it will actually be pointing
to garbage, since the host object has moved.
This occurred on ARM with array index calculations, in particular
because ARM doesn't have a single-instruction "base + scale*index + offset"
addressing mode. Thus, we were generating, for the jaggedarr_cs_do
test case, `ProcessJagged3DArray()` function:
```
// r0 = array object, r6 = computed index offset. We mark r4 as a byref.
add r4, r0, r6
// r4 - 32 is the offset of the object we care about. Then we load the array element.
// In this case, the loaded element is a gcref, so r4 becomes a gcref.
ldr r4, [r4-32]
```
We get this math because the user code uses `a[i - 10]`, which is
essentially `a + (i - 10) * 4 + 8` for element size 4. This is optimized
to `a + i * 4 - 32`. In the above code, `r6` is `i * 4`. In this case,
after the first instruction, `r4` can point beyond the array.
If a GC happens, `r4` isn't updated, and the second instruction loads garbage.
There are several fixes:
1. Change array morphing in `fgMorphArrayIndex()` to rearrange the array index
IR node creation to only create a byref pointer that is precise; don't create
"intermediate" byref pointers that don't represent the actual array element
address being computed. The tree matching code that annotates the generated tree
with field sequences needs to be updated to match the new form.
2. Change `fgMoveOpsLeft()` to prevent the left-weighted reassociation optimization
`[byref]+ (ref, [int]+ (int, int)) => [byref]+ ([byref]+ (ref, int), int)`. This
optimization creates "incorrect" byrefs that don't necessarily point within
the host object.
3. Add an additional condition to the `Fold "((x+icon1)+icon2) to (x+(icon1+icon2))"`
morph optimization to prevent merging of constant TYP_REF nodes, which now were
being recognized due to different tree shapes. This was probably always a problem,
but the particular tree shape wasn't seen before.
These fixes are all-platform. However, to reduce risk at this point, the are
enabled for ARM only, under the `FEATURE_PREVENT_BAD_BYREFS` `#ifdef`.
Fixes #17517.
There are many, many diffs.
For ARM32 ngen-based desktop asm diffs, it is a 0.30% improvement across all
framework assemblies. A lot of the diffs seem to be because we CSE the entire
array address offset expression, not just the index expression.
Egor Chesakov [Sat, 14 Apr 2018 16:06:04 +0000 (09:06 -0700)]
Don't use tests/runtesttilstable.sh for Ubuntu arm jobs
Egor Chesakov [Tue, 27 Mar 2018 17:47:27 +0000 (10:47 -0700)]
Enable building Linux/arm crossarch components in netci
Egor Chesakov [Sat, 14 Apr 2018 15:59:33 +0000 (08:59 -0700)]
Disable failing Ubuntu/arm tests (#17559)
Disable LeakWheel and SlowTailCallArgs Ubuntu/arm tests
Russ Keldorph [Thu, 12 Apr 2018 23:12:43 +0000 (16:12 -0700)]
Make Windows builds always portable
Apparently there is little or no need for a non-portable Windows build, so
rather than trying to figure out which version of Windows we are building
on, just ignore -PortableBuild=false. We can add a warning or refuse to
accept the switch later if necessary, but for now we need to continue
accepting it to avoid build breaks.
Fixes #14291
Steve MacLean [Sat, 14 Apr 2018 12:52:27 +0000 (08:52 -0400)]
[Arm64/Linux] #17521 for linux (#17546)
Egor Chesakov [Sat, 14 Apr 2018 07:24:58 +0000 (00:24 -0700)]
Fix random Segfaults on Ubuntu arm (#17523)
Fix random Segfaults on Ubuntu arm
Mike McLaughlin [Sat, 14 Apr 2018 00:37:06 +0000 (17:37 -0700)]
Fix OpenVirtualProcess on Linux issue. (#17551)
Eugene Rozenfeld [Fri, 13 Apr 2018 23:29:12 +0000 (16:29 -0700)]
Insert int3 after non-returning calls at the end of basic blocks. (#17535)
This is a follow-up to #17501 that fixed #17398.
gc pointer reporting in fully-interruptible mode: the latter assumed that
register gc pointer liveness doesn't change across calls while #6103 introduced
codegen where it wasn't true.
doesn't change across calls.
This change inserts int3 after non-returning calls at the end of basic blocks
so that gc pointer liveness doesn't change across calls. This is additional
insurance in case any other place in the runtime is dependent on that contract.
Stephen Toub [Fri, 13 Apr 2018 23:07:34 +0000 (19:07 -0400)]
Fix default style argument to Double/Single/Decimal.Parse (#17556)
Bruce Forstall [Fri, 13 Apr 2018 21:02:10 +0000 (14:02 -0700)]
Merge pull request #17531 from BruceForstall/SpmiProtectJitStartup
Protect SuperPMI from crashes calling jitStartup
Steve MacLean [Fri, 13 Apr 2018 16:46:52 +0000 (12:46 -0400)]
[Arm64/Linux] Use platform memset/memcpy (#17536)
Fixes buggy memset implementation
Use heavily optimized platform implementation
Follows amd64 & arm precedent
Steve MacLean [Fri, 13 Apr 2018 16:46:19 +0000 (12:46 -0400)]
[Arm64/Windows] Simplify JIT_MemSet & JIT_MemCpy (#17537)
JIT_Memset alignment code was definitly broken for some
unaligned cases
JIT_MemCpy likely had the same issue
Simplify implementation to reduce maintenance burden
Aditya Mandaleeka [Fri, 13 Apr 2018 12:25:39 +0000 (05:25 -0700)]
Preserve VASigCookieReg across PInvokeStubWorker call (#17521)
The call to PInvokeStubWorker can do all kinds of stuff to the
VASigCookieReg in the GenericPInvokeCalli case, since x15 is just a
temporary register. Let's save it in a callee-saved register so that
when we come back after stub generation, we still have the correct value
for the VASigCookie.
Ahson Khan [Fri, 13 Apr 2018 05:40:43 +0000 (22:40 -0700)]
Collapse leftover AsSpan().Slice(...) into AsSpan(...) (#29078)
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
dotnet-maestro-bot [Fri, 13 Apr 2018 07:20:16 +0000 (02:20 -0500)]
Update CoreClr, CoreFx to preview3-26413-01, preview3-26413-02, respectively (#17538)
Ahson Khan [Fri, 13 Apr 2018 04:52:24 +0000 (21:52 -0700)]
Remove CreateFromPinnedArray from Memory (moved to MemoryMarshal) (#17532)
Eugene Rozenfeld [Thu, 12 Apr 2018 23:05:44 +0000 (16:05 -0700)]
Fix for 17398. (#17501)
When enumerating live gc registers, if we are not on the active stack frame,
we need to report callee-save gc registers that are live before the call.
The reason is that the liveness of gc registers may change across a call
to a method that does not return. In this case the instruction after the call
may be a jump target and a register that didn't have a live gc pointer before
the call may have a live gc pointer after the jump. To make sure we report the
registers that have live gc pointers before the call we subtract 1 from curOffs.
Ben Adams [Thu, 12 Apr 2018 21:08:04 +0000 (22:08 +0100)]
Use string.IsNullOrEmpty to eliminate bounds check to first char (#17512)
Bruce Forstall [Thu, 12 Apr 2018 20:55:15 +0000 (13:55 -0700)]
Protect SuperPMI from crashes calling jitStartup
When we call jitStartup, we pass a JitHost interface that the JIT
calls to query for data. These queries look up in the recorded
MCH data, and could fail (and throw an exception) if data is
missing, which it can be for running non-matching altjit against
a collection. Protect these calls with exception handling.
dotnet-maestro-bot [Thu, 12 Apr 2018 20:37:49 +0000 (15:37 -0500)]
Update CoreClr, CoreFx, PgoData to preview3-26412-06, preview3-26412-07, master-
20180412-0051, respectively (#17526)
Sergey Ignatov [Mon, 9 Apr 2018 07:36:16 +0000 (10:36 +0300)]
Fixed #16503 [x64 arm32] the test smalloom terminated with signal SIGKILL
dotnet-maestro-bot [Thu, 12 Apr 2018 07:05:58 +0000 (02:05 -0500)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview3-02711-02, preview3-26412-01, preview3-26412-02, master-
20180411-0039, respectively (#17509)
Michelle McDaniel [Thu, 12 Apr 2018 00:46:30 +0000 (17:46 -0700)]
Reenable Perf Correctness smoketest (#17520)
Brian Sullivan [Thu, 12 Apr 2018 00:38:21 +0000 (17:38 -0700)]
Merge pull request #17464 from briansull/wip-17435
Fix for issue #17435 - Incorrect CSE with SSE Hardware intrinsics
Brian Sullivan [Wed, 11 Apr 2018 23:15:57 +0000 (16:15 -0700)]
Fixed checks for Avx/Avx2.InsertVector128 to check the type of the second arg
Added test case JIT\HardwareIntrinsics\X86\Regression\GitHub_17435
Brian Sullivan [Fri, 6 Apr 2018 22:30:37 +0000 (15:30 -0700)]
Mutate the global heap valuenumber for any HW intrinsic that performs a memory store operation
Use fgMutateGcHeap to record memory write operations by HW Intrinsics
Set flags for the HW Intrinsic nodes that access Memory
Added support for HWIntrinsic nodes to OperMayThrow
Added support for GT_HWIntrinsic to GenTree::OperRequiresAsgFlag() and GenTree::OperIsImplicitIndir()
Refactored GenTreeHWIntrinsic::OperIsMemoryLoad() and GenTreeHWIntrinsic::OperIsMemoryStore()
Added GenTreeHWIntrinsic::OperIsMemoryLoadOrStore()
Deleted the static version of OperIsImplicitIndir(gtOper)
Jeremy Kuhne [Wed, 11 Apr 2018 22:55:38 +0000 (15:55 -0700)]
Some cleanup for ArrayPool trimming (#17518)
* Some cleanup for ArrayPool trimming
- fix static names
- make config switch more specific
- tweak tls free logic for logging
* Tweak the name of the config switch
Ben Adams [Wed, 11 Apr 2018 20:48:52 +0000 (21:48 +0100)]
Remove MemoryManager.Length (#17498)
* Remove MemoryManager.Length
* Feedback
* XML comment nits
Carol Eidt [Wed, 11 Apr 2018 20:41:22 +0000 (13:41 -0700)]
Merge pull request #17431 from CarolEidt/Fix17389
LSRA: remove last uses only at use point
Sergey Andreenko [Wed, 11 Apr 2018 20:16:22 +0000 (13:16 -0700)]
Fix Valuenum:EvalFuncForConstantArgs (#17506)
Jan Kotas [Wed, 11 Apr 2018 14:13:34 +0000 (07:13 -0700)]
Fix CoreRT build breaks
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Matt Mitchell [Wed, 11 Apr 2018 16:57:48 +0000 (09:57 -0700)]
Ensure previous steps haven't failed when building tests (#17514)
Update conditions to ensure that we don't continue on failed test builds
Ahson Khan [Wed, 11 Apr 2018 13:43:10 +0000 (06:43 -0700)]
Add GetPinnableReference back to Span and ReadOnlySpan (#17504)
Ben Adams [Wed, 11 Apr 2018 11:36:27 +0000 (12:36 +0100)]
Fix Assert in ValueTask (#17511)
Petr Bred [Wed, 11 Apr 2018 09:25:03 +0000 (12:25 +0300)]
Fix cmake toolchain compile flags loop (#17380)
- fix https://github.com/dotnet/corert/issues/5093
- cmake toolchain refactoring
Signed-off-by: Petr Bred <bredpetr@gmail.com>
Jeremy Kuhne [Wed, 11 Apr 2018 05:25:49 +0000 (22:25 -0700)]
Simple trim of ArrayPool buffers (#17078)
* Simple trim of ArrayPool buffers
Trim ArrayPool buffers on Gen2 GC if the buffer stack hasn't been emptied for awhile. If you haven't pulled all of the buffers in the past 10 seconds, let loose the top buffer on the stack and give the stack another 2 seconds of potential life. When the stack gets it's bottom bufferr returned the clock resets.
* Collect thread locals as well
* Add event
* Incorporate memory pressure into trimming.
Idea is that we normally give buckets a minute of age time unless the pressure starts to ramp up. As it ramps up we'll trim more off the stacks. If it gets really high we'll consider stale to be 10s instead of 1 min.
* Add implementation back for PinnableBufferCacheEventSource.
* Remove security attribute.
Fix GetMemoryInfo signature
* Always use Tls* for shared pools
Add environment variable switch
* Add guid to PinnableBufferCacheEventSource
* Address feedback
- move setting code to CLRConfig
- add constructor to PBCES
- trim large arrays more aggressively
- tweak names (ticks to ms, etc.)
- interlock creating the cleanup callback
- fix project file
Rent/return perf numbers are unchanged
* Remove static constructor
Inline Unsafe.SizeOf
* Fix spacing issue
* Trim all thread locals when memory pressure is high.
Move constants inline.
* Undo formatting changes
* Add back the internal call
* Put the right bits back *sigh*
* Missing the line feed
* Add event for trim polling
* Undo PinnableBufferCacheEventSource reimplementation
dotnet-maestro-bot [Wed, 11 Apr 2018 03:55:27 +0000 (22:55 -0500)]
Update CoreClr, CoreFx to preview3-26411-01, preview3-26411-01, respectively (#17507)
Noah Falk [Wed, 11 Apr 2018 03:35:33 +0000 (20:35 -0700)]
Fix x86 steady state tiered compilation performance (#17476)
* Fix x86 steady state tiered compilation performance
Also included - a few tiered compilation only test hooks + small logging fix for JitBench
Tiered compilation wasn't correctly implementing the MayHavePrecode and RequiresStableEntryPoint policy functions. On x64 this was a non-issue, but due to compact entrypoints on x86 it lead to methods allocating both FuncPtrStubs and Precodes. The FuncPtrStubs would never get backpatched which caused never ending invocations of the Prestub for some methods. Although such code still runs correctly, it is much slower than it needs to be. On MusicStore x86 I am seeing a 20% improvement in steady state RPS after this fix, bringing us inline with what I've seen on x64.
Ahson Khan [Wed, 11 Apr 2018 03:35:00 +0000 (20:35 -0700)]
Add CreateFromPinnedArray to MemoryMarshal (#17500)
* Add CreateFromPinnedArray to MemoryMarshal
* Address PR feedback: Add a warning remark to CreateFromPinnedArray