CON1521 The Java Memory Model for Practitioners
At first glance, writing concurrent programs in Java seems like a straightforward task. But the devil is in the details. Fortunately, these details are strictly regulated by the Java memory model, which, roughly speaking, decides what values a program can observe for a field at any given time. Without respecting the memory model, a Java program might behave erratically and yield bugs that occur only on some hardware platforms. This presentation summarizes the guarantees that are given by Java’s memory model and teaches how to properly use volatile and final fields or synchronized code blocks. Instead of discussing the model in terms of memory model formalisms, the presentation builds on easy-to follow Java code examples.
Speaker:
Rafael Winterhalter, software engineer, Bouvet ASA
Rafael works as a software engineer in Oslo, Norway. He is a proponent of static typing and a JVM enthusiast with particular interests in code instrumentation, concurrency and functional programming. Rafael blogs about software development, regularly presents at conferences and was pronounced a Java One Rock Star. When coding outside of his work place, he contributes to a wide range of open source projects and often works on Byte Buddy, a library for simple runtime code generation for the Java virtual machine.
Видео CON1521 The Java Memory Model for Practitioners канала Oracle Developers
Speaker:
Rafael Winterhalter, software engineer, Bouvet ASA
Rafael works as a software engineer in Oslo, Norway. He is a proponent of static typing and a JVM enthusiast with particular interests in code instrumentation, concurrency and functional programming. Rafael blogs about software development, regularly presents at conferences and was pronounced a Java One Rock Star. When coding outside of his work place, he contributes to a wide range of open source projects and often works on Byte Buddy, a library for simple runtime code generation for the Java virtual machine.
Видео CON1521 The Java Memory Model for Practitioners канала Oracle Developers
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Java Memory Model in 10 minutes10,000 Java performance tips over 15 years - what did I learn? by Jack ShiraziHow to Use Apache Bench to Load Test Your Website (ab linux command tutorial)Memory ModelA JVM Does That??? by Dr Cliff ClickMemory Management in Java - JVM Roundabout - July 2019Java Concurrency Interview Question: How to timeout a thread?Making Java More Dynamic | Rafael WinterhalterPractical API Design • Ronnie Mitra • GOTO 2019OSCON Java 2011: Josh Bloch, "Java: The Good, Bad, and Ugly Parts"The Volatile and Synchronized Keywords in Java | Atomic Variables in Java | GeekificConcurrency Concepts in Java by Douglas HawkinsJDD 2019: No GC coding techniques for low latency Java, Ivan ZvierievBeyond ByteBuffers by Brian GoetzAn Introduction to JVM Performance by Rafael WinterhalterАндрей Паньгин — Память Java процесса по полочкамHappens Before Relationship in Java | Java Multi threading Interview QuestionsTroubleshooting Memory Problems in Java ApplicationsThe Java Memory Model - The Basics