String pool in java 8

I read about memory management in java 8. It talks about metaspace, but it doesn't talk about row pooling. Can you suggest me what happened to String pool in java 8.

Thanks at Advance. Rajesh

+4
source share
2 answers

This change was made on java7 itself that the constant pool was moved to a typical heap space from the permg space (nevertheless, the pool behavior is the same) when the perm space is completely removed in Java 8. Metaspace has nothing to do with the pool constant specifically, it is common to all objects.

+11
source

www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html

java 8, String.intern. : -XX: StringTableSize 1009 Java 6 Java 7 Java7u40. 60013 Java 7u40 ( Java 8). , . : http://java-performance.info/string-intern-in-java-6-7-8/

0

Source: https://habr.com/ru/post/1669812/


All Articles