I ran your analysis against the latest snapshot of CLHM. This version replaces the queue-based buffer with a lossy ring buffer. This appears to remove the GC pressure that you experienced previously. It would be great if you could do another analysis round on this version before I release it. These changes are being tracked for CacheBuilder in
.
Warmup
--------------
'GetAnnotations' Finished with 1 thread(s). Average time: 126 ms
'GetAnnotations' Finished with 10 thread(s). Average time: 862 ms
'GetAnnotations' Finished with 20 thread(s). Average time: 1662 ms
number of young gc collections: 11, number of old gc collections: 0
Jit compilation: 63
'CacheBuilder' Finished with 1 thread(s). Average time: 271 ms
'CacheBuilder' Finished with 10 thread(s). Average time: 1258 ms
'CacheBuilder' Finished with 20 thread(s). Average time: 5138 ms
number of young gc collections: 2, number of old gc collections: 1
Jit compilation: 571
'LinkedCacheBuilder' Finished with 1 thread(s). Average time: 78 ms
'LinkedCacheBuilder' Finished with 10 thread(s). Average time: 122 ms
'LinkedCacheBuilder' Finished with 20 thread(s). Average time: 137 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 99
--------------
Run
--------------
CACHE BUILDER
--------------
'CacheBuilder' Finished with 1 thread(s). Average time: 94 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 1
'CacheBuilder' Finished with 2 thread(s). Average time: 294 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'CacheBuilder' Finished with 4 thread(s). Average time: 487 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'CacheBuilder' Finished with 8 thread(s). Average time: 964 ms
number of young gc collections: 1, number of old gc collections: 0
Jit compilation: 0
'CacheBuilder' Finished with 16 thread(s). Average time: 1504 ms
number of young gc collections: 1, number of old gc collections: 0
Jit compilation: 15
'CacheBuilder' Finished with 32 thread(s). Average time: 9817 ms
number of young gc collections: 3, number of old gc collections: 1
Jit compilation: 74
'CacheBuilder' Finished with 64 thread(s). Average time: 15467 ms
number of young gc collections: 11, number of old gc collections: 2
Jit compilation: 0
Young Space in mb:
(min:0/max:275)
: |
: | | | |
: || || || || | | | | | | ||
:|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
: 2 1 3 0 0 0 9 0 0 0 0 0 0 2 8 5
: 7 4 9 1 3 5
: 5
Survivor Space in mb:
(min:0/max:137)
: ||| ||
: ||| ||
: ||||| ||| ||
:|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
: 0 0 5 3 3 3 3 1 0 0 1 1 1 1 0 0
: 2 4 4 4 4 3 3 6 6 6
: 7 7
Old Space in mb:
(min:0/max:504)
: ||||||||||||||||||||
: ||||||||||||||||||| ||||||||||||||||||||
: ||||||||||||||||||||||||||||||||||||||||||||||||||
:|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
: 0 0 9 3 3 3 3 3 2 2 2 5 5 5 5 5
: 5 5 5 5 5 6 7 7 7 0 0 0 0 0
: 3 3 3 3 7 4 4 4 4 4 4 4 4
Perm Space in mb:
(min:6/max:6)
:|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
: 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6
--------------
GET ANNOTATIONS
--------------
'GetAnnotations' Finished with 1 thread(s). Average time: 102 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 17
'GetAnnotations' Finished with 2 thread(s). Average time: 154 ms
number of young gc collections: 1, number of old gc collections: 0
Jit compilation: 0
'GetAnnotations' Finished with 4 thread(s). Average time: 428 ms
number of young gc collections: 2, number of old gc collections: 0
Jit compilation: 0
'GetAnnotations' Finished with 8 thread(s). Average time: 868 ms
number of young gc collections: 3, number of old gc collections: 0
Jit compilation: 0
'GetAnnotations' Finished with 16 thread(s). Average time: 1744 ms
number of young gc collections: 7, number of old gc collections: 0
Jit compilation: 0
'GetAnnotations' Finished with 32 thread(s). Average time: 3487 ms
number of young gc collections: 14, number of old gc collections: 0
Jit compilation: 0
'GetAnnotations' Finished with 64 thread(s). Average time: 7121 ms
number of young gc collections: 27, number of old gc collections: 0
Jit compilation: 0
Young Space in mb:
(min:0/max:138)
: |
: |||||| ||
: | |||||||| ||
:|||||||||||||||||||||||||||||
: 4 4 3 4 1 8 1
: 9 0 3 2 7 3
: 9 0
Survivor Space in mb:
(min:0/max:0)
:|||||||||||||||||||||||||||||
: 0 0 0 0 0 0 0
Old Space in mb:
(min:0/max:1)
: |||||||||||||||||||||||||||
: |||||||||||||||||||||||||||
: |||||||||||||||||||||||||||
:|||||||||||||||||||||||||||||
: 1 1 1 1 1 1 1
Perm Space in mb:
(min:6/max:6)
:|||||||||||||||||||||||||||||
: 6 6 6 6 6 6 6
--------------
LINKED CACHE BUILDER
--------------
'LinkedCacheBuilder' Finished with 1 thread(s). Average time: 35 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 2 thread(s). Average time: 49 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 4 thread(s). Average time: 62 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 8 thread(s). Average time: 101 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 16 thread(s). Average time: 161 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 32 thread(s). Average time: 247 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
'LinkedCacheBuilder' Finished with 64 thread(s). Average time: 434 ms
number of young gc collections: 0, number of old gc collections: 0
Jit compilation: 0
Young Space in mb:
(min:0/max:3)
: |
: ||
: ||
:|||
:
Survivor Space in mb:
(min:0/max:0)
:|||
:
Old Space in mb:
(min:0/max:0)
:|||
:
Perm Space in mb:
(min:6/max:6)
:|||