Java String intern(): Performance impact

Publicado em: 29 Agosto 2022
no canal de: yCrash
583
7

java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory consumption of your application by eliminating duplicate strings in your application. In this video, let’s discuss the performance impact of using java.lang.String#intern() function in your application.

If you liked this video, you'll love our Java Performance Masterclass. Learn more:
https://ycrash.io/java-performance-tr...

- - - - - - - - - - - - - -

Topics covered:

00:12 - Interesting Q&A of Java String Intern() function
00:47 - intern() function Demo
04:25 - Memory impact
07:10 - Duplicate Strings Impact
09:23 - Response time

- - - - - - - - - - - - - -

Links shared in the video:

java.lang.String#intern():
https://docs.oracle.com/en/java/javas...)

Java String intern() - Interesting Q & A:
https://blog.ycrash.io/2022/08/03/jav...

To download the 'random-data.txt' file:
https://tier1app.com/dist/sample/rand...

InternDemo Heap analysis report:
https://heaphero.io/my-heap-report.js...

NoInternDemo Heap analysis report:
https://heaphero.io/my-heap-report.js...

string.equals() method:
https://docs.oracle.com/en/java/javas...)

- - - - - - - - - - - - - -

Read more in this blog:

https://blog.ycrash.io/2022/08/11/jav...

- - - - - - - - - - - - - -

Our Tools:

yCrash: https://yCrash.io/
GCeasy: https://gceasy.io/
HeapHero: https://heaphero.io/
fastThread Tool: https://fastthread.io/

- - - - - - - - - - - - - -

SRE Community:

Need help in troubleshooting your performance problems?
Post here: https://answers.ycrash.io/

- - - - - - - - - - - - - -

Follow us on:

LinkedIn:   / ycrash  
Instagram:   / ycrash_rca  
Facebook:   / tier1app  
Twitter:   / tier1app  

- - - - - - - - - - - - - -

Related videos:

Java String intern() - Interesting Q & A:
   • Learn interesting Q&A of Java String inter...  

- - - - - - - - - - - - - -

#Javastrings | #manuallyinternstring | #stringinternmethodinjava | #internmethodofstringinjava | #string | #stringsinjava | #strings | #whatisinternmethodinstringclassinjava | #intern | #introductiontostrings | #javastringstutorialforbeginners | #stringpool | #javastringstutorial | #javastringprograminterviewquestionsandanswers | #string | #stringclassinjava | #javastring | #javastrings | #stringinjava | #stringinterning | #stringsinjava | #stringpool | #strings | #introductiontostrings | #javastringtutorial | #stringpoolinjava | #whatisinternmethodinstringclassinjava | #manuallyinternstring | #javastringclasstutorial | #javastringstutorial | #stringinterninginjava | #whystringisimmutableinjava | #javastringpool | #whatisthepurposeofinternmethodinthestringclass


Nesta página do site você pode assistir ao vídeo on-line Java String intern(): Performance impact duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário yCrash 29 Agosto 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 583 vezes e gostou 7 espectadores. Boa visualização!