Skip to content

[pull] master from dotnet:master#2065

Merged
pull[bot] merged 22 commits intomeunice:masterfrom
dotnet:master
Feb 27, 2021
Merged

[pull] master from dotnet:master#2065
pull[bot] merged 22 commits intomeunice:masterfrom
dotnet:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Feb 26, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

stephentoub and others added 8 commits February 26, 2021 14:21
* Add new MemoryExtensions.SequenceEqual overloads

* Use MemoryExtensions.SequenceEqual in Enumerable.SequenceEqual

* Use MemoryExtensions.SequenceEqual in a few more places
Most artifacts produced by the PGO builds should now have 'PGO' prefixes or suffixes to distinguish them.
+ implemented the logic to handle when we are really running out of memory.
  We need to be resilient to it during a GC. We might need an empty region
  per heap so we try to get it up front and if we can't get it and find out
  that we do need it, we resort to a special sweep mode.
+ also take virtual memory load into consideration
+ fixed the logic to decide whether we should compact based on space.
+ fixed various places when we can't get a region, we need to make sure we
  don't thread 0 into the region list.
+ made allocated_since_last_gc per more_space_lock otherwise we are not doing
  the accounting correctly
+ moved the pinning for STRESS_REGIONS into a blocking GC otherwise we can have
  AV from BGC trying to mark the pinned object while it's being constructed
+ got rid of the places that use the hard coded REGION_SIZE
+ included one perf change in reset_memory
@pull pull bot added the ⤵️ pull label Feb 26, 2021
hrrrrustic and others added 14 commits February 26, 2021 18:02
* add new overloads

* update ref file

* add tests

* remove extra line

Co-authored-by: Stephen Toub <stoub@microsoft.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>
* Track trailing zeros only for floating point numbers

* Undo previous unit test change

* Add a roundtrip unit test

* Move check outside the loop

* Globalization

* Also fix #48648 and unit tests

* Assert and unit test
* Replace BOOL with bool in compiler.h

* Replace BOOL with bool in compiler.h

* Improve bool primitive use

* Improve primitive bool usage
* Implement IgnoresAccessChecksToAttribute support

   System.Runtime.CompilerServices.IgnoresAccessChecksToAttribute is like the reverse of InternalsVisibleTo - it's added to an assembly to indicate that that assembly can call non-public methods from the specified assembly.

   The main difference is that while InternalsVisibleTo allows access to `internal` members, IgnoresAccessChecksTo also allows access to `private` members.

   The interesting thing is that the DynamicProxy dynamically generates the attribute, so it is not explicitly declared in CoreLib.

   Fixes #47989

* Add System.Reflection.Emit regression tests that throw MethodAccessException

   check that calling private/internal methods in another assembly throws.
   check that calling a private method in the same assembly throws.
* Adding browser-wasm trimming test leg

* Fix runtime subset for browser leg

* Addressing PR feedback

* Removing double RuntimePackProperty

* Addressing feedback and updating container image

* Addressing some PR feedback and fixing runtimepack path

* Disabling a test and updating the wasm container used for the build

* Remove restore race condition on trimming projects

* Fix last remaining failing trimming test in browser-wasm

* Removing workaround since the fix is in PR now

* Addressing PR feedback and rebasing to master

* Adding comment on tests.mobile.targets

* Removing unused trimming setting
…48860)

* Check whether EventSource is supported before initializing RuntimeEventSource

* disable ThreadPool eventvalidation test until further investigation
* Implement CSE for constants of type float and double
Update the gtCostEx and gtCostSz values of  float and double constants for Arm and Arm64
Fix the gtCosts for 16-bit ARM32 immediate values

* Code Review feedback
It looks like this used to be used by AppDomain unloading.

I made adjustment to the comment for the native OverlappedDataObject.
* Remove 'domain' arguments from most JIT internal apis.

* Remove domain allocation from mini_llvmonly_create_ftndesc ().

* Remove domain allocations from the gshared code.

* Fix the build.

* Remove most of the remaining domain allocations from the JIT code.

* Fix the build.

* Quiet a cmake message.

* Fix the build.

* Move the lock free mempool from domains to memory managers.

* Remove unused mono_domain_alloc () functions.

* Remove cfg->domain.

* Fix the build.

* Fix the build.

* Remove StackFrameInfo.domain.

* Fix the build.

* Move 'generic_virtual_cases' from domains to memory managers.

* Fix the build.
@pull pull bot merged commit 34c68c7 into meunice:master Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.