How does the Java VM allocate memory?

I am wondering how the Java VM allocates memory? Does JAVA allocate memory in physical memory on our computer? Right now I am trying to compare two data structures, a linked list and an array with caution in terms of page error and cache miss / miss, to see the performance of each data structure at a really low level (hard drive, memory, cache level)

+3
source share
2 answers

I do not know if this answers your question, but IBM has a good article on how the JVM uses the built-in memory in Windows / Linux.

+5
source

Java . , , .

Java , , , . ( ) , , . ( )

ArrayList, , LinkedList, , .

Java , . , , . , , JVM .

+1

Source: https://habr.com/ru/post/1796671/


All Articles