Critical section

A critical section is a piece of code that can only be executed by one thread at a time. Locks (such as a synchronized block) around the critical section are used to implement this.

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.