I get a large report like structure of rows and columns of strings from over a socket connection. There are lots of repeated strings in this structure and I'd like to intern() the string values to free up heap space. My only question is weather String.intern() is thread safe. I assume it is, but I can't seem to find anything that says so. Does anyone know where I could look to find this out?
Thank you, but can you point me to some official documentation that says so? It's not that I doubt you but I've been asked to provide some documentation that says "String.intern() is thread safe".
질문한 사람이 답을 보니 너무 어이가 없었나 보다.. safe 한지 물어 봤는데.... 그 답이.. 너무나 간단하게 safe 하다고 한다.
그러니깐 어디에 그런 말이 있냐고 따진다.
Thank you, but can you point me to some official documentation that says so? ( 고맙긴한데, 니가 말한 그게 공식적인 문서에 어디 나와 있는데? 좀 알려 주라~ )
교재 같은데 있는게 아니고, 걍 글 보다가 찾은거라 -_- 충분히 잘못 되었을 수 있다. ㅎㅎ