Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Advanced Topics in Programming Languages: The Java Memory...

Loading...

Sign in or sign up now!
43,221
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 8, 2007

Google Tech Talks
March 21, 2007

ABSTRACT

This talk describes the Java Memory Model and how it affects the ways concurrent software should be written. Recent changes to the memory model, which were incorporated into JDK 5, redefined the semantics of threads, synchronization, volatile variables, and final fields. The new memory model provides efficient and provably correct techniques for safely and correctly implementing concurrent operations. These techniques are compatible with existing good programming practice, although care needs to be taken in a couple of corner cases.

Most programmers can avoid depending on low-level details and instead just use the high-level concurrency abstractions...

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:
see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • Thank you for this video and I wish you health and wellness, as well as you can get discounts for organic products International DXN number : 1420-31106 or join my group

  • Pretty useful!

  • @ae6rt - At 47:00 , I could not get the "/tmp/usr" substring attack. Even Java 1.4 String was final. ??

  • interesting point about volatile increments at 38:50

  • @32:00 is something that happened to me :D

  • not advanced...

  • First I thought he was wearing a white mask.

  • nice once for a starter like me.....

  • @abrocketsfan actually there was an ooo issue such that an instruction re-ordering commonly used in uni-processor compiler idoms that was used in contemporary multi-threading resulting in non-deterministic behaviour in jsr-166

    this is said to be fixed, used synchronization primitives routinely as the supposed cost of syncronization is not apparent in most applications if non-blocking synchro is implemented such as to avoid locking on two mutual-exclusion constructs

  • are out of order operations allowed within a synchronized block?

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more