DiscoverJava Internals CrashcastsUnraveling Memory Barriers and Reordering in Computer Systems
Unraveling Memory Barriers and Reordering in Computer Systems

Unraveling Memory Barriers and Reordering in Computer Systems

Update: 2024-09-07
Share

Description

Dive into the intricate world of memory barriers and reordering in Java, exploring how these low-level concepts impact concurrent programming.



In this episode, we explore:



  • Instruction reordering: The surprising optimization technique used by CPUs and the JVM

  • Memory barriers: The traffic lights of memory access in multi-threaded environments

  • Java's implementation: How volatile and synchronized keywords tie into memory barriers

  • Performance trade-offs: Balancing optimization and predictability in concurrent code



Tune in to unravel these complex concepts and boost your concurrent programming skills!



Want to dive deeper into this topic? Check out our blog post here: Read more



★ Support this podcast on Patreon ★
Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Unraveling Memory Barriers and Reordering in Computer Systems

Unraveling Memory Barriers and Reordering in Computer Systems

Fatih Yavuz