YouTube magic that brings views, likes and suibscribers
Get Free YouTube Subscribers, Views and Likes

Garbage Collection Algorithms in Java: Concurrent Updates with Optimistic Locking - Part III

Follow
Gaurav Sen

We discuss how concurrent compaction using Compare and Swap (CAS) operations helps speed up garbage collection algorithms and reduce response latencies.

This is the last piece of the puzzle in the garbage collection series. Cheers!

Garbage collection is a way of automatic memory management provided by modern programming languages like Java, Go, Python and JavaScript.

00:00 Who should watch this
00:43 Recap Garbage Identification
02:00 The hunt for low latency
02:33 Generational Hypothesis
03:27 Concurrent Mark and Sweep
04:05 Partitioning into regions
04:50 Part III Concurrent Compaction
05:17 Problem: Lost Writes
06:28 Solution: Forwarding Pointers
08:21 Garbage Collectors in Production
08:50 Conclusion
09:50 Thank you!

Garbage Collection in Java Series:    • Garbage Collection Algorithms  
System Design Course at InterviewReady: https://interviewready.io/

You can follow me on:
Github: https://github.com/InterviewReady/sys...
LinkedIn:   / interviewready  
Twitter:   / gkcs_  

#GarbageCollection #Java #ConcurrentCompaction

posted by forvitnukn