adspace
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 Posted / 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 |
Post New Answer View All Answers
What is the resourcebundle class?
Are jvm’s platform independent?
What is the first argument of the string array in main method?
What do you understand by casting in java language? What are the types of casting?
What is the java api?
what is reflection api? How are they implemented?
What is the locale class?
What if I write static public void instead of public static void?
Can we extract main method from another class?
How does java handle integer overflows and underflows?