J
jakarta.ant
Hi Friends,
I am new to Java Memory Model. I read that when I instantiate an
object the memory for the object will be allocated in Heap and the
identifier will be allocated in Stack.
For example:
Object myObj = new Object();
The memory for the myObj will be allocated in Heap.
and the reference memory address will be stored in Stack.
Is my understanding correct? can anybody suggest some tools that
visulises all these memory modeling concepts.
Thanks and Regards,
Dinesh.V
I am new to Java Memory Model. I read that when I instantiate an
object the memory for the object will be allocated in Heap and the
identifier will be allocated in Stack.
For example:
Object myObj = new Object();
The memory for the myObj will be allocated in Heap.
and the reference memory address will be stored in Stack.
Is my understanding correct? can anybody suggest some tools that
visulises all these memory modeling concepts.
Thanks and Regards,
Dinesh.V