Well yes, because on Linux you use mmap to reserve virtual memory.
I wouldn't say that tooling is not aware of all that. For example, top and htop display virtual memory and resident memory and shared memory. You need to look at resident memory if you want to know physical memory usage.
pojzon|3 years ago
Required simply by ZGC to work, but still its super confusing and convoluted and our tooling is not aware of that at all.
bno1|3 years ago
I wouldn't say that tooling is not aware of all that. For example, top and htop display virtual memory and resident memory and shared memory. You need to look at resident memory if you want to know physical memory usage.