```
Heap:
garbage-first heap total 1040384K, used 4985K [0x0000000414000000, 0x0000000800000000)
region size 8192K, 1 young (8192K), 0 survivors (0K)
Metaspace used 178K, committed 384K, reserved 1114112K
class space used 11K, committed 128K, reserved 1048576K
```
We print the committed heap size as "total". Reserved size is missing and can only be deduced using the following address range size. And the apparent mismatch between that range size and the printed "total" value also confused some customers.
Let's print the reserved and committed total separately.
Heap:
garbage-first heap total 1040384K, used 4985K [0x0000000414000000, 0x0000000800000000)
region size 8192K, 1 young (8192K), 0 survivors (0K)
Metaspace used 178K, committed 384K, reserved 1114112K
class space used 11K, committed 128K, reserved 1048576K
```
We print the committed heap size as "total". Reserved size is missing and can only be deduced using the following address range size. And the apparent mismatch between that range size and the printed "total" value also confused some customers.
Let's print the reserved and committed total separately.