I am wondering how does Java VM allocate memory? does JAVA allocate memory in the physical memory in our computer? Right now I am trying to compare two data structures, linked list and array taking caution in terms of page fault, and cache hit/miss, to see the performance of each data structure in really low level(harddisk, memory, cache level)
I don't know if this answers your question but IBM has a good article about how JVM uses native memory on Windows / Linux.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With