diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-01-06 16:21:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 16:21:11 -0800 |
commit | c10c1ff8e3237689212606c9aa5153beec8a1778 (patch) | |
tree | 53041ba883979389d5eb22b43ce33df4312d5a68 /src/vm/gchelpers.h | |
parent | 548aec353e72117f875d6c08ffe52e2a43f01ad4 (diff) | |
download | coreclr-c10c1ff8e3237689212606c9aa5153beec8a1778.tar.gz coreclr-c10c1ff8e3237689212606c9aa5153beec8a1778.tar.bz2 coreclr-c10c1ff8e3237689212606c9aa5153beec8a1778.zip |
[Local GC] Move Software Write Watch's write barrier updates to GCToEEInterface::StompWriteBarrier (#8605)
* Move Software Write Watch's write barrier updates to use the new
GCToEEInterface::StompWriteBarrier to stomp the EE's write barrier.
* Address code review feedback, move SetCardsAfterBulkCopy to EE side of the interface
Diffstat (limited to 'src/vm/gchelpers.h')
-rw-r--r-- | src/vm/gchelpers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/gchelpers.h b/src/vm/gchelpers.h index f5590beebe..449524aa9a 100644 --- a/src/vm/gchelpers.h +++ b/src/vm/gchelpers.h @@ -109,6 +109,8 @@ OBJECTREF AllocateObject(MethodTable *pMT extern void StompWriteBarrierEphemeral(bool isRuntimeSuspended); extern void StompWriteBarrierResize(bool isRuntimeSuspended, bool bReqUpperBoundsCheck); +extern void SwitchToWriteWatchBarrier(bool isRuntimeSuspended); +extern void SwitchToNonWriteWatchBarrier(bool isRuntimeSuspended); extern void ThrowOutOfMemoryDimensionsExceeded(); @@ -119,5 +121,5 @@ extern void ThrowOutOfMemoryDimensionsExceeded(); //======================================================================== void ErectWriteBarrier(OBJECTREF* dst, OBJECTREF ref); - +void SetCardsAfterBulkCopy(Object **start, size_t len); #endif // _GCHELPERS_H_ |