---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 25 Edition"
java_version: 25
chapter: "Chapter 16. Definite Assignment"
section: "16.2.14"
heading: "16.2.14. synchronized Statements"
parent: "16.2. Definite Assignment and Statements"
source: https://docs.oracle.com/javase/specs/jls/se25/html/jls-16.html#jls-16.2.14
id: "16.2.14"
url: https://jvm.obfuscated.software/jls/se25/16.2.14.html
raw: https://jvm.obfuscated.software/jls/se25/16.2.14.md
---

# 16.2.14. `synchronized` Statements

- V is [un]assigned after `synchronized (e) S` ([§14.19](14.19.md)) iff V is [un]assigned after S.
- V is [un]assigned before `e` iff V is [un]assigned before the statement `synchronized (e) S`.
- V is [un]assigned before S iff V is [un]assigned after `e`.
