Age | Commit message (Collapse) | Author |
|
|
|
* improve SslStream tests on misconfigured systems
* feedback from review
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
|
|
code (#66207)
* Add regression test for #66005
* Fix
* Update src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
|
|
|
|
Co-authored-by: wfurt <tweinfurt@yahoo.com>
|
|
* Run tests for internal azdo PRs
* PR Feedback
* Fix PGO jobs on official builds
We missed passing in the `isOfficialBuild` variable on the PGO jobs.
* Don't run upload-intermediate-artifacts-step.yml for PGO leg
* Fix .yml
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
references (#65614)
|
|
|
|
|
|
Co-authored-by: Filip Navara <navara@emclient.com>
|
|
|
|
|
|
|
|
Like `RuntimeMethodHandle.GetFunctionPointer`, but callable from native code
|
|
(#65898)
* Fix default converter reallocation on each call to JsonSerializerOptions.GetConverter
* ensure package is released
|
|
|
|
|
|
|
|
* Fix Queryable-to-Enumerable overload mapping logic
* fix linker warnings
* address feedback
* use strict order when calculating maximal elements
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
|
|
Globalization Invariant Mode (#65537)
* [dotnet/runtime] Backport Fix PerformanceCounter's when running with Globalization Invariant Mode (PR #65414)
* Add GeneratePackageOnBuild & ServicingVersion project properties
|
|
* Backport of #60770 and #64566
* Fixing missing end line
|
|
Co-authored-by: Radek Zikmund <r.zikmund.rz@gmail.com>
|
|
clock_nanosleep (#65372)
* [Android] Workaround for invalid return value from clock_nanosleep (#64679)
There used to be a bug in Android libc implementation of `clock_nanosleep`. The return value should be `errno` on errors but instead in it returns `-1` and sets `errno`. The libc (Bionic) bug [has been fixed](https://android-review.googlesource.com/c/platform/bionic/+/110652/) since Android 6 and newer but it causes problems to [customers who are unable to update Android on their devices](https://github.com/xamarin/xamarin-android/issues/6600#issuecomment-1026023654).
Fixes https://github.com/xamarin/xamarin-android/issues/6600
* Account for incorrect implementation of clock_nanosleep in older Android libc
* Shorten comments
* Add g_clock_nanosleep function
* Add remap definition
* Fix build
* Make sure the extra check runs only on Android
* Make Windows builds happy
* Try making wasm builds happy
* Fix leftover direct call to clock_nanosleep
|
|
Fixes https://github.com/dotnet/runtime/issues/64386.
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
|
|
* OP_[FR]CONV_TO_I should result in an 8-byte integer
Co-authored-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
|
|
runtime (#64754)
* vtable setup fix for generic default interface methods in mono runtime
When processing the overrides from interface default methods we should
check if the interface class is a generic type definition first and
inflate with the interface class context.
Test case included.
* Update test to ensure that the correct context is used
Co-authored-by: Bill Holmes <bill.holmes@unity3d.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
|
|
|
|
[release/6.0] Bump runtime workload manifest to 300 / update emsdk dependency
|
|
|
|
[release/6.0] Remove Unused Encoding on UriHelper
|
|
|
|
configuration (#66366)
Partial backport of https://github.com/dotnet/runtime/pull/65413
https://github.com/dotnet/runtime/issues/61524 - OOM while linking `System.Text.Json.Tests`
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
|
|
|
|
vseanreesermsft/internal-merge-6.0-2022-03-08-1138
Merging internal commits for release/6.0
|
|
|
|
|
|
|
|
|
|
installer (#65478)
* Add dependencies on EMSDK manifest bands for coherency in installer
* Update from 126110
|
|
|
|
|
|
|
|
|
|
|
|
* Fix race conditions in SystemEvents shutdown logic (#62773)
* Fix race conditions in SystemEvents shutdown logic
When the application is terminated through Restart Manager the event broadcasting window will get the `WM_CLOSE` message. The message gets handled by passing it to `DefWndProc` which calls `DestroyWindow` on the window itself thus making the window handle invalid. The `Shutdown` method expects the window handle to be valid to post `WM_QUIT` message to terminate the thread running the message loop but that's no longer possible under these conditions.
Additionally there's second race condition with the `s_eventThreadTerminated` event that is created during shutdown and set conditionally. A race condition between the threads could cause it to be created when the window message thread is already shutting down and thus it would never be set. Waiting for it in the `Shutdown` method would be cause a deadlock. This thread is also completely unnecessary since a `Join` is performed on the thread itself.
The fix has several changes that act together:
- `s_eventThreadTerminated` event is removed completely in favor of only relying on `Thread.Join`
- `WM_DESTROY` message is detected (which happens as a result of WM_CLOSE calling `DefWndProc` which in turn calls `DestroyWindow`) and handled by shutting down the message loop thread
- The message loop itself is rewritten to use standard `GetMessageW` loop. The reasoning on why it was not used seems not to be valid anymore since AppDomain shutdowns are performed differently
* Add unit test.
* Add braces
* Add package authoring for servicing
Co-authored-by: Filip Navara <filip.navara@gmail.com>
|
|
|
|
(#65444)
* Add "[createdump]" prefix to all createdump for VS4Mac
To help diagnose and improve dump collection for VS4Mac, the createdump's messages and logging needed some kind of prefix.
* Add verbose createdump logging env var COMPlus_CreateDumpVerboseDiagnostics
* Code review feedback
|
|
* Use CopyContext to restore saved context on X86 (#65490)
* Use CopyContext to restore saved context on X86
* PR feedback
* more PR feedback
* Do not copy XState other than AVX when redirecting for GC stress (#65825)
* Do not copy XState other than AVX
* #if defined(TARGET_X86) || defined(TARGET_AMD64)
* mask XState unconditionally
* Ensure XSTATE_MASK_AVX is set before calling EEGetThreadContext
* redundant supportsAVX, more clear comment
* PR feedback
* null-check the redirect context before using. (#65910)
* null-check the redirect context before using.
* tweak the comment
* do not allocate context if InitializeContext has unexpected results.
* EE Suspension on x86 should use RtlRestoreContext when available (#65878)
* RestoreContextSimulated
* probe for RtlRestoreContext
* ntdll.dll
* restore self-trap sequence
* PR feedback
* Clarify CopyContext in RedirectedHandledJITCaseExceptionFilter
* simpler indentation.
* restore last error on the legacy path.
* Update src/coreclr/vm/threads.h
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
|
|
|