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

Merge changes from TFS - #829

Merged
jkotas merged 2 commits into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Feb 8, 2016
Merged

jkotas merged 2 commits into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

The loop hijack worker routine is not honoring the contract that it should be.  Namely, the runtime is not allowed to trash any registers in our worker (except r12 on ARM).  The two big oversights were scratch FP registers and the flags registers.

I have also added a per-module map from loop index to target address (thus requiring all the shash.h includes).  This primarily helps gcstress throughput because the loop indirection cell address calculation ends up being surprisingly lengthy.  I considered the other obvious approach of "back-patching" the loop indirection cell in the gcstress case (normal loop hijacking does this, but under gcstress, we do not).  However, I ended up preferring this because it could help GC suspension latency in normal operation.

[tfs-changeset: 1573401]
@jkotas

jkotas commented Feb 8, 2016

Copy link
Copy Markdown
Member

@dotnet-bot test this please

jkotas added a commit that referenced this pull request Feb 8, 2016
@jkotas
jkotas merged commit 9d2616b into dotnet:nmirror Feb 8, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch February 8, 2016 23:49
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.

4 participants