Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why
Answer / Anuj Srivastava
Yes, the JVM maintains its own cache called JIT (Just-In-Time) compiler cache. The purpose of this cache is to compile bytecode into native machine code to improve performance.nThe JVM allocates objects in a memory space known as the heap.nThis heap is not the OS heap but is managed by the JVM itself. The heap's primary role is to store objects during runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is setstring method in java?
How do I download and install eclipse on windows 10?
What are the differences between java’s old java date api and java 8’s date and time api?
What is property file in java?
What is meant by code profiling?
What do you understand by downcasting?
What is a bean class?
What is jpa implementation?
What is cmp in java?
Can we write lambda without functional interface?
What is transient in java?
When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?