Commit 35d4ed66 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Decrease the collection frequency

parent f6893799
...@@ -35,7 +35,7 @@ namespace gc { ...@@ -35,7 +35,7 @@ namespace gc {
static unsigned bytesAllocatedSinceCollection; static unsigned bytesAllocatedSinceCollection;
static __thread unsigned thread_bytesAllocatedSinceCollection; static __thread unsigned thread_bytesAllocatedSinceCollection;
#define ALLOCBYTES_PER_COLLECTION 2000000 #define ALLOCBYTES_PER_COLLECTION 10000000
void _collectIfNeeded(size_t bytes) { void _collectIfNeeded(size_t bytes) {
thread_bytesAllocatedSinceCollection += bytes; thread_bytesAllocatedSinceCollection += bytes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment