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
On this page of the site you can watch the video online Java String intern(): Performance impact with a duration of hours minute second in good quality, which was uploaded by the user yCrash 29 August 2022, share the link with friends and acquaintances, this video has already been watched 583 times on youtube and it was liked by 7 viewers. Enjoy your viewing!