Comment
No excessive usage of empty collections found.
Details
java.util.HashMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
16 First 10 of 25,544 objects | 25,544 | 1,226,112 | >= 17,983,232 |
0 First 10 of 7,691 objects | 7,691 | 369,168 | >= 389,216 |
1 First 10 of 5,182 objects | 5,182 | 248,736 | >= 1,356,016 |
4 First 10 of 2,581 objects | 2,581 | 123,888 | >= 580,376 |
3 First 10 of 2,026 objects | 2,026 | 97,248 | >= 390,544 |
2 First 10 of 1,754 objects | 1,754 | 84,192 | >= 267,368 |
24 First 10 of 1,119 objects | 1,119 | 53,712 | >= 1,074,528 |
5 All 8 objects | 8 | 384 | >= 6,208 |
6 All 7 objects | 7 | 336 | >= 4,272 |
8 All 6 objects | 6 | 288 | >= 2,544 |
9 All 5 objects | 5 | 240 | >= 1,073,240 |
123 All 3 objects | 3 | 144 | >= 15,072 |
11 All 2 objects | 2 | 96 | >= 1,704 |
19 All 2 objects | 2 | 96 | >= 7,392 |
33 All 2 objects | 2 | 96 | >= 8,176 |
116 All 2 objects | 2 | 96 | >= 17,040 |
122 All 2 objects | 2 | 96 | >= 9,984 |
13 | 1 | 48 | 608 |
14 | 1 | 48 | 656 |
21 | 1 | 48 | 864 |
27 | 1 | 48 | 5,672 |
39 | 1 | 48 | 5,248 |
43 | 1 | 48 | 1,696 |
49 | 1 | 48 | 17,136 |
85 | 1 | 48 | 113,040 |
| 45,953 | 2,205,744 |
java.util.ArrayList
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 21,080 objects | 21,080 | 505,920 | >= 3,497,920 |
2 First 10 of 14,032 objects | 14,032 | 336,768 | >= 3,764,624 |
3 First 10 of 13,024 objects | 13,024 | 312,576 | >= 4,929,600 |
0 First 10 of 7,476 objects | 7,476 | 179,424 | >= 179,424 |
4 First 10 of 1,659 objects | 1,659 | 39,816 | >= 788,608 |
5 First 10 of 1,626 objects | 1,626 | 39,024 | >= 778,984 |
11 First 10 of 1,050 objects | 1,050 | 25,200 | >= 1,607,880 |
10 First 10 of 896 objects | 896 | 21,504 | >= 1,269,792 |
6 First 10 of 855 objects | 855 | 20,520 | >= 508,968 |
15 First 10 of 456 objects | 456 | 10,944 | >= 936,704 |
12 First 10 of 341 objects | 341 | 8,184 | >= 559,040 |
18 First 10 of 301 objects | 301 | 7,224 | >= 750,496 |
9 First 10 of 285 objects | 285 | 6,840 | >= 357,712 |
17 First 10 of 214 objects | 214 | 5,136 | >= 189,112 |
19 First 10 of 170 objects | 170 | 4,080 | >= 435,288 |
8 First 10 of 168 objects | 168 | 4,032 | >= 129,424 |
16 First 10 of 123 objects | 123 | 2,952 | >= 261,312 |
7 First 10 of 97 objects | 97 | 2,328 | >= 15,080 |
59 First 10 of 21 objects | 21 | 504 | >= 7,056 |
60 First 10 of 13 objects | 13 | 312 | >= 4,368 |
20 All 10 objects | 10 | 240 | >= 21,808 |
35 All 8 objects | 8 | 192 | >= 1,920 |
61 All 8 objects | 8 | 192 | >= 2,688 |
58 All 7 objects | 7 | 168 | >= 2,352 |
62 All 7 objects | 7 | 168 | >= 2,352 |
| 64,054 | 1,537,296 |
java.util.LinkedHashMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 3,000 objects | 3,000 | 168,000 | >= 4,990,480 |
0 First 10 of 836 objects | 836 | 46,816 | >= 46,928 |
2 First 10 of 320 objects | 320 | 17,920 | >= 2,487,096 |
17 First 10 of 141 objects | 141 | 7,896 | >= 143,760 |
3 First 10 of 134 objects | 134 | 7,504 | >= 1,032,896 |
4 First 10 of 131 objects | 131 | 7,336 | >= 1,354,032 |
5 First 10 of 110 objects | 110 | 6,160 | >= 1,426,904 |
9 First 10 of 87 objects | 87 | 4,872 | >= 690,096 |
6 First 10 of 73 objects | 73 | 4,088 | >= 920,296 |
7 First 10 of 50 objects | 50 | 2,800 | >= 588,016 |
8 First 10 of 26 objects | 26 | 1,456 | >= 373,360 |
10 First 10 of 22 objects | 22 | 1,232 | >= 201,328 |
59 First 10 of 21 objects | 21 | 1,176 | >= 61,824 |
11 First 10 of 14 objects | 14 | 784 | >= 104,656 |
60 First 10 of 13 objects | 13 | 728 | >= 38,792 |
35 All 9 objects | 9 | 504 | >= 36,496 |
36 All 9 objects | 9 | 504 | >= 49,064 |
12 All 8 objects | 8 | 448 | >= 98,560 |
13 All 8 objects | 8 | 448 | >= 68,744 |
16 All 8 objects | 8 | 448 | >= 95,504 |
38 All 8 objects | 8 | 448 | >= 47,936 |
61 All 8 objects | 8 | 448 | >= 24,192 |
20 All 7 objects | 7 | 392 | >= 72,984 |
58 All 7 objects | 7 | 392 | >= 20,328 |
62 All 7 objects | 7 | 392 | >= 21,448 |
| 5,285 | 295,960 |
java.util.LinkedHashSet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 442 objects | 442 | 7,072 | >= 4,276,872 |
2 First 10 of 182 objects | 182 | 2,912 | >= 2,401,456 |
3 First 10 of 105 objects | 105 | 1,680 | >= 1,012,080 |
5 First 10 of 104 objects | 104 | 1,664 | >= 1,415,128 |
4 First 10 of 100 objects | 100 | 1,600 | >= 1,310,400 |
6 First 10 of 69 objects | 69 | 1,104 | >= 913,512 |
7 First 10 of 48 objects | 48 | 768 | >= 579,152 |
8 First 10 of 26 objects | 26 | 416 | >= 373,776 |
9 First 10 of 20 objects | 20 | 320 | >= 306,160 |
10 All 10 objects | 10 | 160 | >= 137,104 |
0 All 5 objects | 5 | 80 | >= 408 |
20 All 5 objects | 5 | 80 | >= 71,064 |
11 All 4 objects | 4 | 64 | >= 35,280 |
12 All 4 objects | 4 | 64 | >= 68,384 |
19 All 4 objects | 4 | 64 | >= 69,856 |
28 All 4 objects | 4 | 64 | >= 71,840 |
30 All 4 objects | 4 | 64 | >= 39,200 |
82 All 4 objects | 4 | 64 | >= 49,120 |
13 All 3 objects | 3 | 48 | >= 35,088 |
15 All 3 objects | 3 | 48 | >= 35,360 |
21 All 3 objects | 3 | 48 | >= 36,176 |
32 All 3 objects | 3 | 48 | >= 37,928 |
47 All 3 objects | 3 | 48 | >= 39,968 |
57 All 3 objects | 3 | 48 | >= 46,392 |
293 All 3 objects | 3 | 48 | >= 41,568 |
| 1,248 | 19,968 |
java.util.concurrent.ConcurrentHashMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 First 10 of 68 objects | 68 | 4,352 | >= 4,400 |
1 First 10 of 64 objects | 64 | 4,096 | >= 19,416 |
12 First 10 of 29 objects | 29 | 1,856 | >= 21,360 |
13 First 10 of 12 objects | 12 | 768 | >= 10,896 |
14 All 8 objects | 8 | 512 | >= 6,624 |
18 All 5 objects | 5 | 320 | >= 4,928 |
3 All 4 objects | 4 | 256 | >= 1,488 |
17 All 4 objects | 4 | 256 | >= 3,744 |
19 All 3 objects | 3 | 192 | >= 3,120 |
20 All 3 objects | 3 | 192 | >= 3,408 |
2 All 2 objects | 2 | 128 | >= 768 |
11 | 1 | 64 | 512 |
23 | 1 | 64 | 1,264 |
27 | 1 | 64 | 12,648 |
32 | 1 | 64 | 1,696 |
36 | 1 | 64 | 8,696 |
72 | 1 | 64 | 60,432 |
314 | 1 | 64 | 17,200 |
535 | 1 | 64 | 83,512 |
2,707 | 1 | 64 | 445,768 |
| 211 | 13,504 |
java.util.LinkedList
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 1,389 objects | 1,389 | 44,448 | >= 517,584 |
5 All 6 objects | 6 | 192 | >= 1,696 |
0 All 3 objects | 3 | 96 | >= 96 |
2 All 2 objects | 2 | 64 | >= 160 |
4 | 1 | 32 | 128 |
| 1,401 | 44,832 |
java.util.Collections$SynchronizedMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 All 2 objects | 2 | 64 | >= 584 |
6 All 2 objects | 2 | 64 | >= 1,048 |
116 All 2 objects | 2 | 64 | >= 17,104 |
0 | 1 | 32 | 80 |
33 | 1 | 32 | 1,408 |
179 | 1 | 32 | 17,056 |
180 | 1 | 32 | 7,184 |
348 | 1 | 32 | 74,528 |
| 11 | 352 |
java.util.HashMap$EntrySet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 4,909 objects | 4,909 | 78,544 | >= 78,544 |
0 First 10 of 1,241 objects | 1,241 | 19,856 | >= 19,856 |
2 First 10 of 98 objects | 98 | 1,568 | >= 1,568 |
3 All 9 objects | 9 | 144 | >= 144 |
4 All 5 objects | 5 | 80 | >= 80 |
24 All 2 objects | 2 | 32 | >= 32 |
14 | 1 | 16 | 16 |
| 6,265 | 100,240 |
java.util.Hashtable
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 All 2 objects | 2 | 96 | >= 224 |
535 | 1 | 48 | 63,960 |
| 3 | 144 |
java.util.HashSet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 First 10 of 13 objects | 13 | 208 | >= 848 |
1 All 8 objects | 8 | 128 | >= 21,992 |
11 | 1 | 16 | 1,064 |
16 | 1 | 16 | 720 |
| 23 | 368 |
java.util.Vector
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 All 2 objects | 2 | 64 | >= 176 |
2,726 | 1 | 32 | 20,528 |
| 3 | 96 |
java.util.LinkedHashMap$LinkedKeySet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 258 objects | 258 | 4,128 | >= 4,128 |
2 First 10 of 146 objects | 146 | 2,336 | >= 2,336 |
5 First 10 of 84 objects | 84 | 1,344 | >= 1,344 |
4 First 10 of 78 objects | 78 | 1,248 | >= 1,248 |
3 First 10 of 60 objects | 60 | 960 | >= 960 |
6 First 10 of 54 objects | 54 | 864 | >= 864 |
7 First 10 of 34 objects | 34 | 544 | >= 544 |
8 First 10 of 22 objects | 22 | 352 | >= 352 |
9 First 10 of 18 objects | 18 | 288 | >= 288 |
10 All 8 objects | 8 | 128 | >= 128 |
12 All 4 objects | 4 | 64 | >= 64 |
19 All 4 objects | 4 | 64 | >= 64 |
20 All 4 objects | 4 | 64 | >= 64 |
28 All 4 objects | 4 | 64 | >= 64 |
0 All 3 objects | 3 | 48 | >= 48 |
36 All 3 objects | 3 | 48 | >= 48 |
11 All 2 objects | 2 | 32 | >= 32 |
13 All 2 objects | 2 | 32 | >= 32 |
14 All 2 objects | 2 | 32 | >= 32 |
15 All 2 objects | 2 | 32 | >= 32 |
16 All 2 objects | 2 | 32 | >= 32 |
21 All 2 objects | 2 | 32 | >= 32 |
25 All 2 objects | 2 | 32 | >= 32 |
30 All 2 objects | 2 | 32 | >= 32 |
32 All 2 objects | 2 | 32 | >= 32 |
| 864 | 13,824 |
java.util.Collections$UnmodifiableSet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 All 5 objects | 5 | 80 | >= 848 |
0 | 1 | 16 | 104 |
16 | 1 | 16 | 736 |
| 7 | 112 |
java.util.Collections$SynchronizedSet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
5 | 1 | 24 | 624 |
java.util.LinkedHashMap$LinkedEntrySet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 11 objects | 11 | 176 | >= 176 |
5 All 2 objects | 2 | 32 | >= 32 |
10 All 2 objects | 2 | 32 | >= 32 |
0 | 1 | 16 | 16 |
2 | 1 | 16 | 16 |
3 | 1 | 16 | 16 |
4 | 1 | 16 | 16 |
6 | 1 | 16 | 16 |
7 | 1 | 16 | 16 |
13 | 1 | 16 | 16 |
15 | 1 | 16 | 16 |
30 | 1 | 16 | 16 |
36 | 1 | 16 | 16 |
47 | 1 | 16 | 16 |
70 | 1 | 16 | 16 |
175 | 1 | 16 | 16 |
492 | 1 | 16 | 16 |
| 29 | 464 |
java.util.LinkedHashMap$LinkedValues
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 First 10 of 13 objects | 13 | 208 | >= 208 |
0 All 3 objects | 3 | 48 | >= 48 |
4 | 1 | 16 | 16 |
| 17 | 272 |
java.util.Properties
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 All 2 objects | 2 | 112 | >= 240 |
java.util.HashMap$KeySet
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 All 6 objects | 6 | 96 | >= 96 |
2 All 5 objects | 5 | 80 | >= 80 |
1 | 1 | 16 | 16 |
| 12 | 192 |
java.util.WeakHashMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 | 1 | 48 | 176 |
java.util.Arrays$ArrayList
java.util.concurrent.ConcurrentHashMap$EntrySetView
java.util.Collections$UnmodifiableMap
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
4 | 1 | 32 | 64 |
java.util.HashMap$Values
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 All 2 objects | 2 | 32 | >= 32 |
0 | 1 | 16 | 16 |
85 | 1 | 16 | 16 |
| 4 | 64 |
java.util.ImmutableCollections$SetN
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
3 | 1 | 24 | 64 |
java.util.concurrent.CopyOnWriteArrayList
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 | 1 | 24 | 56 |
java.util.ArrayDeque
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
0 | 1 | 24 | 48 |
java.util.Collections$SingletonList
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
1 | 1 | 24 | 24 |
java.util.Collections$UnmodifiableCollection
Length | # Objects | Shallow Heap | Retained Heap |
---|---|---|---|
4 | 1 | 16 | 16 |