12 lines
378 B
Text
12 lines
378 B
Text
Index: src/spaces.h
|
|
--- src/spaces.h.orig
|
|
+++ src/spaces.h
|
|
@@ -464,7 +464,7 @@ class MemoryChunk {
|
|
}
|
|
|
|
bool TryParallelSweeping() {
|
|
- return NoBarrier_CompareAndSwap(¶llel_sweeping_, 1, 0) == 1;
|
|
+ return NoBarrier_CompareAndSwap(reinterpret_cast<Atomic32 *>(¶llel_sweeping_), 1, 0) == 1;
|
|
}
|
|
|
|
// Manage live byte count (count of bytes known to be live,
|