This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes string pool Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "string pool" Watch "string pool" New topic
Author

string pool

hemamalini s.
Greenhorn

Joined: Oct 17, 2005
Posts: 13
I want ot ask String objects are always allocated memory .So how string pool are allocated memory at compile time itself?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Moving to Java In General (Intermediate).


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: string pool
 
Similar Threads
can explain about heap and pool variables?
Pool of Interns Memory(String literals)
The well known String str = "abc" and String str1 = new String("abc");
difference between poll memory and non-poll memory?
Objects on Heap