|
Top: Computers: Programming: Threads: Java:
Java (41)
Categories:
See Also:
Regular Links:
A Critique of Java for Concurrent Programming 
Presents some predictions of how concurrent programming might evolve during until 2015.
http://dsonline.computer.org/portal/site/dsonline/menuitem.3a529f3832e8f1e13587e0606bcd45f3/index.jsp?&pName=dso_print_only&TheCat=&path=dsonline/0509&file=o9003.xml
Achieve Strong Performance With Threads, Part 2 
Explains synchronization, Java's synchronization mechanism, and two problems that arise when developers fail to use that mechanism correctly.
http://www.javaworld.com/javaworld/jw-06-2002/jw-0607-java101.html
Achieve Strong Performance With Threads, Part 3 
Explains how priority relates to thread scheduling and how to use the wait/notify mechanism to coordinate the activities of multiple threads.
http://www.javaworld.com/javaworld/jw-07-2002/jw-0703-java101.html
Achieve Strong Performance With Threads, Part 4 
Focuses on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. Also describes how various thread concepts combine to finalize objects.
http://www.javaworld.com/javaworld/jw-08-2002/jw-0802-java101.html
Avoid Synchronization Deadlocks 
Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the likelihood of synchronization deadlocks.
http://www.javaworld.com/javaworld/jw-10-2001/jw-1012-deadlock_p.html
Can Double-Checked Locking be Fixed? 
In this article, Brian Goetz looks at some of the commonly proposed fixes and shows how each of them fails to render the DCL idiom thread-safe under the Java Memory Model.
http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-double_p.html
Double-Checked Locking: Clever, but Broken 
Though many Java books and articles recommend double-checked locking, unfortunately, it is not guaranteed to work in Java.
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double_p.html
Ease Your Multithreaded Application Programming 
Takes a look at one of the most-used constructs in multithreaded programming: the producer-consumer scenario. Also shows a Consumer class which facilitates code reuse and simplifies debugging and maintenance in some multithreaded applications.
http://www-128.ibm.com/developerworks/java/library/j-prodcon/
Going Atomic 
Explains how the new atomic variable classes in JDK 5.0 enable the development of highly scalable nonblocking algorithms in the Java language.
http://www-128.ibm.com/developerworks/java/library/j-jtp11234/
Hey, where'd my thread go? 
If you're not careful, threads can disappear from server applications without a (stack) trace. In this article, threading expert Brian Goetz offers some techniques for both prevention and detection of threads going AWOL.
http://www-128.ibm.com/developerworks/library/j-jtp0924.html
Implementing Read-Write Locks in Java 
Read-write locks allow multiple threads to acquire a read lock provided no other thread currently has a write lock on the same object. A thread can acquire a write lock if no other thread owns either a read lock or a write lock.
http://www.asingh.net/technical/rwlocks.html
Multi-Threading -- The Next Level 
By Edward Harned. This article takes the multi-threading structures available today to the next level by making professional quality, Open Source code available to all programmers.
http://java.ittoolbox.com/pub/EH111402/article.html
Multithreading in Java 
The article discusses how to pull off multithreading in Java. It is excerpted from chapter 10 of the book Java Demystified, written by Jim Keogh.
http://www.devarticles.com/c/a/Java/Multithreading-in-Java/
Programming Java Threads in the Real World, Part 1 
Discusses the things you need to know to program threads in the real world. This article assumes you understand the language-level support for threads and focuses on the legion of problems that arise when you try to use these language features.
http://www.javaworld.com/javaworld/jw-09-1998/jw-09-threads_p.html
Programming Java Threads in the Real World, Part 3 
Looks at how and why you might want to roll your own exclusion semaphores, and presents a lock manager that will help you safely acquire multiple semaphores.
http://www.javaworld.com/javaworld/jw-11-1998/jw-11-toolbox_p.html
Programming Java Threads in the Real World, Part 8 
Discusses architectural solutions to threading problems. Takes a look at threads from the perspective of an object-oriented designer, and at how to implement threads in an object-oriented environment, focusing on the implementation of asynchronous methods
http://www.javaworld.com/javaworld/jw-05-1999/jw-05-toolbox_p.html
Programming Java Threads in the Real World, Part 9 
Discussion of two more architectural solutions to threading problems: a synchronous dispatcher (or 'reactor') and an asynchronous dispatcher (or 'active object').
http://www.javaworld.com/javaworld/jw-06-1999/jw-06-toolbox_p.html
Programming Java Threads in the Real world, Part 4 
A condition variable adds to wait the ability to not wait when the condition you're waiting for has already taken place; and a counting semaphore lets you control a pool of resources without sucking up machine cycles in polling loops.
http://www.javaworld.com/javaworld/jw-12-1998/jw-12-toolbox_p.html
Safe construction techniques 
Concurrent programming in Java applications is more complicated than it looks: there are several subtle (and not so subtle) ways to create data races and other concurrency hazards in Java programs. In this article, Brian Goetz looks at a common threading
http://www-128.ibm.com/developerworks/library/j-jtp0618.html
Seminar: Concurrent Programming in Java 
A comprehensive course covering all aspects of multi-thread programming in Java from plain synchronization over Java 5.0 concurrency utilities to memory model issues.
http://www.angelikalanger.com/Courses/ConcurrentJava.htm
Simple Java Thread Management Library (SJT.Mgmt) 
An easy to use library for adding thread management in Java applications. The library comes from early experience with JServ's lack of thread management, and recent posts to the java developer forums. [Open source]
http://simplethread.sourceforge.net/
The "Double-Checked Locking is Broken" Declaration 
Details on the reasons - some very subtle - why double-checked locking cannot be relied upon to be safe. Signed by a number of experts, including Sun engineers.
http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
Thread Pools and Work Queues 
Explores the motivations for thread pools, some basic implementation and tuning techniques, and some common hazards to avoid.
http://www-128.ibm.com/developerworks/library/j-jtp0730.html
Thread Synchronization in Java 
Producer Consumer, Dining Philosophers, Reader Writer problems. Applet demonstration, design diagram. Source code accessable by e-mail request.
http://www.sws.bfh.ch/~fischli/threads/
Thread Synchronization in Java (Sources) 
Introduces basic concurrency problems and shows how to solve them by using builtin Java synchronization primitives. (Only sources free accessed without registration)
http://devcentral.iticentral.com/articles/Java/thread_sync/code.html
Threading Lightly: Reducing Contention 
Explains why contended synchronization is a problem and then explores several techniques for reducing contention, and hence improving scalability.
http://www.ibm.com/developerworks/java/library/j-threads2.html
Warning! Threading in a Multiprocessor World 
Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java.
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-toolbox_p.html
Writing Multithreaded Java Applications 
Introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems. By Alex Roetter.
http://www.ibm.com/developerworks/library/j-thread.html
|
|
Last Updated: 2007-04-21 17:11:59
|