mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 844768 - Make JSRuntime::gcNumArenasFreeCommitted atomic r=billm
This commit is contained in:
parent
cecefc3587
commit
5165f4707a
@ -995,10 +995,8 @@ struct JSRuntime : public JS::shadow::Runtime,
|
||||
|
||||
/*
|
||||
* Number of the committed arenas in all GC chunks including empty chunks.
|
||||
* The counter is volatile as it is read without the GC lock, see comments
|
||||
* in MaybeGC.
|
||||
*/
|
||||
volatile uint32_t gcNumArenasFreeCommitted;
|
||||
mozilla::Atomic<uint32_t, mozilla::ReleaseAcquire> gcNumArenasFreeCommitted;
|
||||
js::GCMarker gcMarker;
|
||||
void *gcVerifyPreData;
|
||||
void *gcVerifyPostData;
|
||||
|
Loading…
Reference in New Issue
Block a user