diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2019-02-09 18:25:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-09 18:25:10 -0800 |
commit | ee8cda063048305e730c92e6899cf0c523fbe483 (patch) | |
tree | 1561313b98a36ead6b80779cf6c23b0f2acf739d /src/vm/threads.h | |
parent | 5922bc02cd9e40615ca420ee9847d2cfc3ef834a (diff) | |
download | coreclr-ee8cda063048305e730c92e6899cf0c523fbe483.tar.gz coreclr-ee8cda063048305e730c92e6899cf0c523fbe483.tar.bz2 coreclr-ee8cda063048305e730c92e6899cf0c523fbe483.zip |
Move eventpipe buffer to TLS (#21817)
* start ripping out eventpipe buffer to tls
* can now emit events from gc threads
* cleanup
* more cleanup
* more cleanup
* tested on linux
* Addressing PR comments
* Move things around a bit to build in Linux
* change eventpipe buffer deallocation code
* more cleanup
* this while loop doesnt do anything now
* Fix build
* fixing build
* More cleanup
* more pr comments
* Fix unix build
* more pr comments
* trying to add a message to assertion that seems to be causing CIs to fail
* more pr feedback
* handle non-2-byte aligned string payloads inside payload buffers
* some more cleanup
* Fix off by one error in null index calculation
* Make Get/SetThreadEventBufferList a static member of ThreadEventBufferList
* make only the methods public in ThreadEventBufferList
* Addressing noah's comments
* fix comment and last off by 1 error
Diffstat (limited to 'src/vm/threads.h')
-rw-r--r-- | src/vm/threads.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/vm/threads.h b/src/vm/threads.h index 6ec6323c28..2fa7569449 100644 --- a/src/vm/threads.h +++ b/src/vm/threads.h @@ -4902,11 +4902,6 @@ public: #ifdef FEATURE_PERFTRACING private: - // The object that contains the list write buffers used by this thread. - Volatile<EventPipeBufferList*> m_pEventPipeBufferList; - - // Whether or not the thread is currently writing an event. - Volatile<bool> m_eventWriteInProgress; // SampleProfiler thread state. This is set on suspension and cleared before restart. // True if the thread was in cooperative mode. False if it was in preemptive when the suspension started. @@ -4917,30 +4912,6 @@ private: GUID m_activityId; public: - EventPipeBufferList* GetEventPipeBufferList() - { - LIMITED_METHOD_CONTRACT; - return m_pEventPipeBufferList; - } - - void SetEventPipeBufferList(EventPipeBufferList *pList) - { - LIMITED_METHOD_CONTRACT; - m_pEventPipeBufferList = pList; - } - - bool GetEventWriteInProgress() const - { - LIMITED_METHOD_CONTRACT; - return m_eventWriteInProgress; - } - - void SetEventWriteInProgress(bool value) - { - LIMITED_METHOD_CONTRACT; - m_eventWriteInProgress = value; - } - bool GetGCModeOnSuspension() { LIMITED_METHOD_CONTRACT; |