UserInteractive
UserInteractive

Reputation: 99

String intern pool as of Java 7

As of Java 7, read that String intern pool has been moved from PermGen to the main memory!

What is the exact area where this pool is stored? Is it method area or is it in heap only?

How many string intern pools are there for an execution? Is it per-class?

Upvotes: 1

Views: 402

Answers (1)

TwoThe
TwoThe

Reputation: 14269

Google is your friend.

Summary: Pool has been changed, where it lies now doesn't matter, it still a tool you should not use except for a few special edge cases.

Upvotes: 1

Related Questions