The Artima Developer Community
Sponsored Link

Java Answers Forum
Java - Stack, heap, method aread, String costant pool

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
rashmi maheshwari

Posts: 9
Nickname: grashmi13
Registered: Sep, 2011

Java - Stack, heap, method aread, String costant pool Posted: Sep 7, 2011 10:47 PM
Reply to this message Reply
Advertisement
Where following are stored:
1. Primitives of an Object
2. Objects created using new
3. String created using new
4. String literals
5. method formal and local primitive types
6. method formal and local objects
7. method formal and local String literals and String objects
8. return Objects of method
9. return primitive of method
10. static objects of a class
11. constant static strings
12. arrays of primitives
13. arrays of objects
14 collections of objects
15 collections of primitives

How GC reclaim these?

Topic: File access in cluster Previous Topic   Next Topic Topic: problem in doing full screen fame and adding a glasspane to frame

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use