Known Java APIs, Unknown Performance impact!

Опубликовано: 12 Март 2026
на канале: yCrash
687
17

There are certain Java APIs that we use in our everyday programming:

UUID Generation
System.getProperty()
Hashtable.get()
HashMap.get(), HashMap.put()
Collection.clear()
ArrayList.clear()
Threads
& a surprise API

Even though we use them everyday, we may not be aware of their notorious performance side effects. In this video, I have discussed those APIs and their performance impacts on our applications.

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

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

Topics covered:

00:41 - UUID Generation
05:58 - System.getProperty()
11:28 - Hashmap
15:30 - Collection.clear()
23:56 - Threads
33:33 - Surprise

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

Links shared in the video:

Java UUID generation – Performance impact:
https://blog.fastthread.io/2022/03/09...

Real-world Problem:
https://tinyurl.com/57s55zfz

RHEL:
https://developers.redhat.com/blog/20...

Haveged Library:
http://www.issihosts.com/haveged/

Performance impact of java.lang.System.getProperty():
https://blog.fastthread.io/2021/10/06...

HashMap:
https://blog.ycrash.io/2022/04/15/jav...

yCrash open-source script : 360-degree data:
https://github.com/ycrash/yc-data-script

Real case study: Major bank in Canada
https://tinyurl.com/j5jnmrxr

Which Map to use?
https://blog.ycrash.io/2022/04/15/jav...

Java.util.Collection#clear()
https://blog.ycrash.io/2023/02/18/cle...

Without invoking clear() Report link:
https://tinyurl.com/5x78kvb5

Invoking clear() API Report link:
https://tinyurl.com/3fxcackb

Assigning ‘null’ Report link:
https://tinyurl.com/56emdc7f

Java Virtual Threads – Easy introduction:
https://blog.fastthread.io/2023/02/22...

“I don’t have to worry about Garbage collection” – Is it true?
https://blog.gceasy.io/2021/07/08/i-d...

Automobile company optimizes performance using GCeasy:
https://blog.gceasy.io/2022/08/25/aut...
Uber optimizes Garbage collection performance using GCeasy:
https://blog.gceasy.io/2020/07/14/ube...

How to tune GC Performance?
   • GC Tuning & Troubleshooting Crash Course |...  

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

Read more in this blog:

https://blog.ycrash.io/2023/02/23/kno...

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

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 UUID generation – Performance impact:
   • Java UUID generation – Performance impact  

Java Hashtable, HashMap, ConcurrentHashMap – Performance impact:
   • Java Hashtable, HashMap, ConcurrentHashMap...  

Java Virtual Threads – Easy introduction:
   • Java Virtual Threads: The ONLY Introductio...  

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

#javaperformance | #javaperformanceoptimization | #javaperformancetuning | #howjavaperformanceworks | #performanceoptimization | #highperformance | #javaperformanceandinstrumentation | #buildperformanceperformancetuning | #performancetestingtools | #outlierperformance | #oracleperformanceanalyzer | #increaseperformance | #howjavaperformanceandinstrumentationwork | #performanceengineeringperformnacetestingconférence | #javaone2017 | #javaone | #markcavage | #confoo