Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Merge nmirror to master - #1284

Merged
jkotas merged 6 commits into
dotnet:masterfrom
jkotas:nmirror-merge
May 17, 2016
Merged

jkotas merged 6 commits into
dotnet:masterfrom
jkotas:nmirror-merge

Conversation

@jkotas

@jkotas jkotas commented May 16, 2016

Copy link
Copy Markdown
Member

No description provided.

AntonLapounov and others added 5 commits May 11, 2016 14:20
CR: jkotas, frankpe

Modulus operations in ConditionalWeakTable are expensive on ARM and do not provide much value since pseudorandom numbers generated by RuntimeHelpers.GetHashCode() are good enough to simply use their lowest bits.

[tfs-changeset: 1603932]
- Reduce amount of assembly code in PInvoke helpers by moving all slow paths to C++
- Share code between the slow paths of assembly and portable helpers
- Improve performance of the portable helpers by making the access to current thread and the trap thread statics inlineable (e.g. the portable RhpReversePInvoke2 helper has only two extra instructions compared to what the hand-optimized assembly helper would have)

[tfs-changeset: 1605153]
- Reduce amount of assembly code in PInvoke helpers by moving all slow paths to C++
- Share code between the slow paths of assembly and portable helpers
- Improve performance of the portable helpers by making the access to current thread and the trap thread statics inlineable (e.g. the portable RhpReversePInvoke2 helper has only two extra instructions compared to what the hand-optimized assembly helper would have)

[tfs-changeset: 1605153]
@jkotas jkotas changed the title Merge master to nmirror Merge nmirror to master May 16, 2016
@jkotas
jkotas merged commit 9e2f89a into dotnet:master May 17, 2016
@jkotas
jkotas deleted the nmirror-merge branch May 18, 2016 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants