A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
this week in the
Java in General
Stack memory and Heap memory in java
Joined: Sep 14, 2005
Sep 15, 2005 11:58:00
I need complete details about Stack memory and Heap memory in
That means how the instance variables or the objects are going to placed in those memories and all that.
author and iconoclast
Joined: Jul 08, 2003
Sep 15, 2005 12:10:00
long discussion of exactly this topic. If you read all this and still don't understand, then reply with followup questions.
[Jess in Action]
Joined: Sep 19, 2004
Sep 15, 2005 13:59:00
Joined: Nov 04, 2001
Sep 18, 2005 00:43:00
I draw this diagram while back..about this memory allocation in JVM process..
This might give you more idea. Only thing is the Java Stack box in the diagram attached with the Java thread might be confusing as I have them attached. What I actually wanted to convey there was -- each java thread has its own stack..
I agree. Here's the link:
subject: Stack memory and Heap memory in java
Java array and String problem
Stack & Heap
When will a variable use memory from stack and when will use memory from heap?
What is Stack memory & heap memory
JVM memory management
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015