A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Xing Xai Ma
Joined: Sep 12, 2006
Jun 13, 2007 13:40:00
just want to make sure about the HEAP. There's only object that could be on the heap or class variable / static variables could be on the heap.
- thank you
Joined: May 04, 2007
Jun 13, 2007 14:22:00
AFAIK method local variables live on stack, any other variables are on heap.
subject: Heap Memory
Garbage collect with String Objects
All Static code thread safety
Stack & heap for Static methods
Stack/Heap: the Memory Allocation of Local Variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015