Index: src/sweeper-thread.h |
diff --git a/src/sweeper-thread.h b/src/sweeper-thread.h |
index c36cfc39a299fddd8ed18f9c94822fb4acfcddc9..96255a0972af61b37543dc294018e01ff2d30073 100644 |
--- a/src/sweeper-thread.h |
+++ b/src/sweeper-thread.h |
@@ -51,6 +51,8 @@ class SweeperThread : public Thread { |
void WaitForSweeperThread(); |
intptr_t StealMemory(PagedSpace* space); |
+ static int NumberOfThreads(int max_available); |
+ |
private: |
Isolate* isolate_; |
Heap* heap_; |