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

Merge nmirror to master - #1259

Merged
jkotas merged 2 commits into
masterfrom
nmirror
May 9, 2016
Merged

jkotas merged 2 commits into
masterfrom
nmirror

Conversation

@jkotas

@jkotas jkotas commented May 9, 2016

Copy link
Copy Markdown
Member

No description provided.

smosier and others added 2 commits May 6, 2016 09:42
     1) Perf fix for thread attach during GC.  The runtime holds the ThreadStore's ReaderWriterLock for the entire duration of a suspend-for-GC.  This causes new threads to spin in the RWL code waiting on the GC to finish.  I have added a check that shortcuts to the proper wait-on-an-event in this case.

     2) Fix RhpCheckCctor2__SlowPath to properly preserve stack alignment on AMD64.  This was found while experimenting with a PGO instrumented build of the runtime.

[tfs-changeset: 1602614]
1) Perf fix for thread attach during GC.  The runtime holds the ThreadStore's ReaderWriterLock for the entire duration of a suspend-for-GC.  This causes new threads to spin in the RWL code waiting on the GC to finish.  I have added a check that shortcuts to the proper wait-on-an-event in this case.

     2) Fix RhpCheckCctor2__SlowPath to properly preserve stack alignment on AMD64.  This was found while experimenting with a PGO instrumented build of the runtime.

[tfs-changeset: 1602614]
@jkotas
jkotas merged commit 8974bd0 into master May 9, 2016
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