• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. HotSpot
  3. Main
  4. Runtime
  5. Synchronization

Page History

Versions Compared

Old Version 1

changes.mady.by.user Christian Wimmer

Saved on Apr 23, 2008

compared with

New Version 2

changes.mady.by.user Christian Wimmer

Saved on Apr 23, 2008

  • Next Change: Difference between versions 2 and 3
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One of the major strengths
of the Java programming language

is its built-in support for multi-threaded programs. An object that is shared between multiple threads can be locked in order to synchronize its access. Java provides primitives to designate critical code regions, which act on a shared object and which may be executed only by one thread at a time. The ¯rst thread that enters the region locks the shared object. When a second thread is about to enter the same region, it must wait until the ¯rst thread has unlocked the object again. The client compiler translates the appropriate Java bytecodes into machine code that implements an e±cient and lightweight locking mechanism.

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 209, "requestCorrelationId": "63d08902d744d94a"}