- 29 9月, 2022 21 次提交
-
-
由 Peter Sollich 提交于
As it turns out, distribute_free_regions does not do a very good job distributing free regions if there are fewer than the budget demands. There are several reasons: - there is a bug in the adjustment_per_heap computation that causes the value to be too large - that is because dividing a negative number already rounds towards zero, and hence towards positive infinity, thus adding (n_heaps-1) before dividing is wrong. - if the overall budget is not a multiple of the number of heaps, trying to fill each heap to the budget will allow heaps with higher numbers to have significant shortfalls. - if the budget is not enough to cover the higher generations, heaps with high budget in these generations may cause other heaps to be unable to even cover their gen 0 budget. The fix addresses these shortcomings: - once we cover the budget for a generation, this is considered the minimum, higher generation budgets on other heaps are not allowed to reduce it below that minimum. So lower generations take priority, we are essentially trying to delay running out of budget as long as possible. - we use a better algorithm to distribute a budget shortfall or surplus over all heaps. there is still a slight tendency for the last heap to receive fewer regions in the case of a shortfall.
-
由 Ilona Tomkowicz 提交于
* New tests: static inherited + fixed logic for them. * Remove internal option after merge with main. * Missing after-merge change. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Matous Kozak 提交于
* add missing defined * SSE intrinsics check * fix typo * remove spaces * add missing defined * remove SSE and SSE2 checks
-
由 Marek Fišera 提交于
- Add template descriptions. - Unify string quotes.
-
由 Pavel Savara 提交于
* new unit test
-
由 Filip Navara 提交于
* [Mono] Implement eager finalization of WeakReference * Make the finalization really eager * Move the eager finalization a bit earlier - to sgen_finalize_in_range (PR suggestion) Co-authored-by: Nvsadov <8218165+VSadov@users.noreply.github.com>
-
由 Hyungju Lee 提交于
-
由 Tanner Gooding 提交于
* Adding a debug only config knob for testing loop unrolling limits * Responding to PR feedback * Fix a name * Fixing the name of the JitConfig knob * Apply formatting patch
-
由 Nathan Ricci 提交于
Disable Added failing ioosimulator tests.
-
由 Stephen Toub 提交于
* Move CollectionExtensions to corelib * Add CollectionExtensions.AddRange/InsertRange/CopyTo * Update src/libraries/System.Private.CoreLib/src/System/Collections/Generic/CollectionExtensions.cs Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com> * Update src/libraries/System.Private.CoreLib/src/System/Collections/Generic/CollectionExtensions.cs Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com> Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com>
-
由 Kevin Jones 提交于
-
由 Adeel Mujahid 提交于
* Add custom ResponseFile handler * Move handler to helpers and use in CG2 * Strip leading and trailing quotes from value Co-authored-by: NJon Sequeira <jonsequeira@gmail.com>
-
由 Eric Erhardt 提交于
* Fix DiagnosticSource to work with NativeAOT There were 2 problems: 1. The use of MakeGenericType doesn't work when a property is a ValueType. An app will crash when a listener is enabled and DiagnosticSourceEventSource tries writing values. 2. The properties on KeyValuePair were not being preserved correctly, so the Arguments of the DiagnosticSourceEventSource methods were not being serialized correctly. Add test (and infrastructure) to ensure DiagnosticSource works in a NativeAOT app Fix #75945 * Enable new NativeAotTests in CI - Only run them in Release configuration - Suppress IL2026 warning * Don't run NativeAot published app tests on OSX since it isn't supported Set EventSourceSupport only on the projects that need it.
-
由 Vlad Brezae 提交于
* [mono][interp] Replace sign extending moves to normal moves If the source var doesn't have its address taken. These opcodes are very frequent (even over 5%) and they cannot be optimized out and block copy propagation. * [mono][interp] Add implicit conversions when returning short ints * [mono][interp] Make sure ret.i4.imm correctly handles short int returns
-
由 Will Smith 提交于
* More disasm check CI fixes * Quick fix * More fixes. Force failure. * Update Runtime_34937.cs
-
由 Bruce Forstall 提交于
-
由 Maoni Stephens 提交于
for regions generation size can be 0 since we don't have the gen start object anymore. fixes #76257.
-
由 Anthony Shaw 提交于
Fixes #76291
-
由 David Cantú 提交于
* Use UTF8 encoding on Tar string fields * Slice destination on Checksum * Use Encoding.GetByteCount as fast path * Use escape sequences on hardcoded UTF8 characters * Fix ustar prefix logic and throw if name would be truncated * Address feedback * Fix truncation and prefix logic * Fix nits * Add async tests * Add tests for unseekable streams * Address feedback
-
由 Ken Dale 提交于
-
由 Eirik Tsarpalis 提交于
-
- 28 9月, 2022 19 次提交
-
-
由 Kevin Jones 提交于
Individual KeySizes instances themselves are immutable, so we can re-use instances there. Arrays are mutable, so continue to return a copy of the array each time.
-
由 Will Smith 提交于
* Update disasm-checks documentation with limitations and future improvements * Include not about anchors * Update disasm-checks.md
-
由 Jamie Magee 提交于
Co-authored-by: NJamie Magee <jamie.magee@microsoft.com>
-
由 Peter Sollich 提交于
* Initial version of gradual decommit for WKS. This is the regions version modeled after the behavior of the segments version. Idea is simply to limit the amount of decommitted memory based on the time since the last GC. * Change decommit_step to take a step_milliseconds parameter - this makes the logic for the WKS decommit more straightforward. * Only do decommits at most every 100 milliseconds to limit the number of decommitted regions. * Address code review feedback: disable the logic in decommit_ephemeral_segment_pages for WKS, some changes in distribute_free_regions as a consequence. * Remove unused static field ephemeral_elapsed. * Fix typo in comment.
-
由 Alexander Köplinger 提交于
While looking at https://github.com/dotnet/runtime/pull/76250 I noticed that we were querying the HOME env variable for SpecialFolder.UserProfile but we're already doing that in PersistedFiles.GetHomeDirectory()
-
由 Michał Bryłka 提交于
-
由 Miepee 提交于
#68610 moved `Personal`/`MyDocuments` on Unix systems from HOME to the documents folder. However, it didn't do so for Android systems, which was only noticed after tests later failed. This fixes it.
-
由 Jo Shields 提交于
Closes: #75080
-
由 Zoltan Varga 提交于
[mono][llvm] Avoid making the 'this' variable in gshared methods volatile, the generated llvm code already saves it to separate variable for using during EH. (#76284)
-
由 Tom Deseyn 提交于
* Pass SourceBuild TargetRid and SourceBuildPortable args through the native script. * Rename -packagerid to -distrorid. * Fix init-distro-rid.sh. * Use OutputRid instead of PackageRid. * Drop unnecessary Condition. * Try passing --distrorid as OutputRid. * NativeExport: use PackageRID for AppHostRuntimeIdentifier. * Rename --distrorid to --outputrid. * Fix SourceBuild.props. * Undo changes to init-distro-rid.sh. * Let source-build leg build 'banana-x64' rid. * SourceBuild.props: don't force a RuntimeOS. * SourceBuild.props: set AdditionalRuntimeIdentifierParent. * Build banana.24-x64 instead. * Fix SourceBuild.props. * SourceBuild.props: try fix AdditionalRuntimeIdentifier* usage. * source-build.yml: add runtimeOS parameter. * SourceBuild.props: derive RuntimeOS from NETCoreSdkRuntimeIdentifier. * Undo using NETCoreSdkRuntimeIdentifier. * Update eng/pipelines/common/global-build-job.yml Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com> Co-authored-by: NJeremy Koritzinsky <jkoritzinsky@gmail.com>
-
由 Zoltan Varga 提交于
[wasm] Run System.Runtime tests in a deterministic order to work around https://github.com/dotnet/runtime/issues/74302. (#76287)
-
由 Michal Strehovský 提交于
Small quality-of-life improvement since the SDK default means less code to compile and faster compile times.
-
由 Matous Kozak 提交于
-
由 Michal Strehovský 提交于
Contributes to https://github.com/dotnet/runtime/issues/71506.
-
由 Michal Strehovský 提交于
There was a bug in the code that maps accessor names to property names when the method is on an instantiated type. We would incorrectly demangle getters into setters. Also made this do the same thing for events. Also changed the throw to an assert. We don't really want to crash the compiler if there's a bug here.
-
由 Zoltan Varga 提交于
-
由 James S. Wang 提交于
-
由 Tanner Gooding 提交于
* Support containing HWIntrinsics that can operate like a store * Applying formatting patch * Ensure code is properly under #if defined(FEATURE_HW_INTRINSICS) * Resolve an assert in lsrabuild * Update src/coreclr/jit/emitxarch.cpp Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com> * Update src/coreclr/jit/codegenlinear.cpp Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
-
由 Tanner Gooding 提交于
* Refactor Lowering::IsContainableBinaryOp so node checks are simpler * Update Lowering::ContainCheckBinary to check both operands for a commutative oper * Updating Lowering::IsContainableBinaryOp to support some shifted register instructions * Resolving some build failures/asserts * Ensure IsContainableBinaryOp checks IsSafeToContainMem * Use parentNode not node * Ensure shifted register instructions that set flags use the right instruction * Ensure the shift amount is checked for smaller nodes * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com> Co-authored-by: NSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
-