Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
Java Concurrency Framework

Java Concurrency Framework

Ratings: (0)|Views: 43 |Likes:
Published by Prashant Shirsath

More info:

Published by: Prashant Shirsath on Sep 23, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/23/2012

pdf

text

original

 
3
Java™ Concurrency Utilitiesin Practice
Brian Goetz
Sun Microsystem Inc.
Brian.Goetz@sun.com
Contributing authors:
Doug Lea 
State University of New York, Oswego 
dl@cs.oswego.edu
Tim Peierls
BoxPop.biz
Tim@peierls.net
Joe Bowbeer 
Java ME SpecialistMobile App Consulting
 jozart@alum.mit.edu
David Holmes
Senior Java TechnologistSun Microsystems Australia
David.Holmes@sun.com
Acknowledgment: OOPSLA 2007 tutorialby Joe Bowbeer and David Holmes
http://www.oopsla.org/oopsla2007/index.php?page=sub/&id=69
 
4
About these slides
Java™ is a trademark of Sun Microsystems, Inc.
Material presented is based on latest informationavailable for Java
TM
Platform Standard Edition, asimplemented in JDK™ 6.0
Code fragments elide
Exception handling for simplicity
Access modifiers unless relevant
More extensive coverage of most topics can be found inthe book
 –
Java Concurrency in Practice, by Brian Goetz et al, Addison-Wesley (JCiP)
See also
 –
Concurrent Programming in Java, by Doug Lea, Addison-Wesley (CPJ)
 
5
Review: Java Threading Model
The Java virtual machine (JVM)
Creates the initial thread which executes the main methodof the class passed to the JVM
Creates internal JVM helper threads
 
Garbage collection, finalization, signal dispatching …
The code executed by the ‘main’ thread can create other threads
Either explicitly; or 
Implicitly via libraries:
 
AWT/Swing, Applets
 
Servlets, web services
 
RMI
 
image loading
 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->