JDK 21 |
---|
21 b11Fixed |
CSR :
|
|
Relates :
|
|
Relates :
|
Memory not allocated via NMT and uncommitted memory contributes to a discrepancy between NMT and RSS. It can be hard to distinguish between these cases. If the VM can determine the amount of pooled memory by malloc it would help with both determining if a trim_native_memory is needed, or there are some allocations happening outside of NMT. It would be good if the VM can summarize the malloc pooled memory by using e.g. malloc_info(3). We can thus more precise account for RSS value.
|