mirror of
https://github.com/corda/corda.git
synced 2025-06-12 12:18:20 +00:00
increase heap pool size and fixed footprint threshold constants based on performance profiling and experimentation (second try)
This commit is contained in:
@ -48,7 +48,7 @@ const uintptr_t FixedMark = 3;
|
|||||||
const unsigned ThreadHeapSizeInBytes = 64 * 1024;
|
const unsigned ThreadHeapSizeInBytes = 64 * 1024;
|
||||||
const unsigned ThreadHeapSizeInWords = ThreadHeapSizeInBytes / BytesPerWord;
|
const unsigned ThreadHeapSizeInWords = ThreadHeapSizeInBytes / BytesPerWord;
|
||||||
|
|
||||||
const unsigned ThreadHeapPoolSize = 32;
|
const unsigned ThreadHeapPoolSize = 64;
|
||||||
|
|
||||||
const unsigned FixedFootprintThresholdInBytes
|
const unsigned FixedFootprintThresholdInBytes
|
||||||
= ThreadHeapPoolSize * ThreadHeapSizeInBytes;
|
= ThreadHeapPoolSize * ThreadHeapSizeInBytes;
|
||||||
|
Reference in New Issue
Block a user