| Double-Checked Locking: Clever, but Broken |
| Double-checked locking: Clever, but broken - JavaWorld |
| http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double_p.html |
| Though many Java books and articles recommend double-checked locking, unfortunately, it is not guara nteed to work in Java. |
| Many Java programmers are familiar with the double-checked locking
idiom, which allows you to pe rform lazy initialization with reduced
synchronization overhead. Though many Java books and arti cles
recommend double-checked locking, unfortunately, it is not
guaranteed to work. In this article I explore some of the issues
underlying that odd discovery and dive into the murky water s of the
Java Memory Model. (2,400 words) |
| Development Tools,algorithms, concurrent programming, multithreading, locking |
| document, function, pageinfo, javaworld, doctitle, javaworld, pagetracker, development, return, gajs host, setmetainfo, double, location, hbxstrip, patternsjava, filter, hbevent, author, content, cleve r, locking, lookup, checked, execcommand, broken, development, string, double, apisjava, platform, l anguagejava, javadesign, concurrency, javaajax, 0architecture, enterprise, programming, conceptsswin g, programmingthreads, typeof, gettracker, 6191150, script, javascript, initdata, trackpageview, res earch, centers, developers, advertise, infoworld |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Warning! Threading in a Multiprocessor World |
| Warning! Threading in a multiprocessor world - JavaWorld |
| http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-toolbox_p.html |
| Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitivel y thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java. |
| Many authors (myself included at one point) advocate the
double-checked locking idiom to access a Singleton object in an
intuitively thread-safe way. Unfortunately, for counterintuitive
re asons, double-checked locking doesn't work. Double-checked
locking, in fact, is characteristic o f a whole slew of so-called
tricks that purport to eliminate synchronization overhead. They
seem to work on an intuitive level, but they don't work at all in
practice. The situation is mad e even worse in multiprocessor
environments, since a trick that indeed works on a single-process or
box oftentimes won't work correctly on a multiprocessor box. This
article explains why. W arning: it's assumed that you know how
synchronized works. (2,000 words) |
| Development Tools,threads, multithreading, memory barrier, double-checked locking, SMP, multiprocess or |
| memory, javaworld, javaworld, checked, function, document, double, pageinfo, locking, article, progr amming, doctitle, toolbox, double, development, access, directly, advertise, enterprise, problem, re sources, pagetracker, problems, return, singleton, account, register, edition, threading, warning, m ultiprocessor, network, memorymodel, research, columns, itworld, centers, important, related, rights , instruction, reserved, mobile, issues, lookup, contact, patternsjava, service, copyright, privacy, focuses |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 9 |
| Programming Java threads in the real world, Part 9 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-06-1999/jw-06-toolbox_p.html |
| Discussion of two more architectural solutions to threading problems: a synchronous dispatcher (or ' reactor') and an asynchronous dispatcher (or 'active object'). |
| This article finishes up the series on threads with a discussion of
two more architectural solut ions to threading problems: a
synchronous dispatcher (or "reactor") and an asynchronous& #xA;dispatcher (or "active object"). These dispatchers can simplify the
threading model considerably by letting you minimize -- and in some
cases eliminate -- the need for method-level synchronization,
thereby making it much easier to write and debug multithreaded
application s. Both of these design patterns leverage the
object-oriented view of threading discussed in las t month's column.
Allen demonstrates the active object architecture with an
OutputStream der ivative that allows two threads to
simultaneously write to the console without getting the lines of
text mixed together. |
| ,threads, multithreading, object-oriented, synchronous dispatcher, reactor, Round-Robin, scheduler, Active Object |
| document, javaworld, function, bookinfo, pageinfo, design, object, schmidt, object, doctitle, javawo rld, programming, pattern, addison, wesley, fatbrain, edition, register, theisbn, enterprise, networ k, return, pagetracker, advertise, development, resources, threads, account, articles, location, hbx strip, oriented, author, description, behavioral, contains, filter, gajshost, concurrent, vlissides, mobile, contact, program, string, reserved, rights, request, infoworld, coplien, lookup, execcomman d |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Computers/Programming/Threads/Java |
|
|
| Computers/Programming/Threads/Java |
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 8 |
| Programming Java threads in the real world, Part 8 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-05-1999/jw-05-toolbox_p.html |
| Discusses architectural solutions to threading problems. Takes a look at threads from the perspectiv e of an object-oriented designer, and at how to implement threads in an object-oriented environment, focusing on the implementation of asynchronous methods. |
| The previous installment of Allen's ongoing Java threads series was
devoted to low-level solutio ns to threading problems: locks of
various sorts, timers, and so forth. This month's (penultimat e)
installment in the thread series moves on to discuss architectural
solutions to threading problems. Allen looks at threads from the
perspective of an object-oriented designer, and at ho w to implement
threads in an object-oriented environment, focusing on the
implementation of asynchronous methods. Along the way, he discusses
the Command design pattern. He also presents a n architectural-level
solution to the threading-complexity problem: the thread pool,
which i s useful for minimizing thread-creation overhead. And he
introduces a realistic implementation o f a blocking queue -- a form
of queue that's useful for interthread communication that blocks A;any thread that attempts to remove an item from an empty queue.
Finally, he demonstrates the p ractical application of |
| ,threads, multithreading, thread pools, Socket, ServerSocket, client, server, network, object-orient ed |
| function, document, javaworld, pageinfo, javaworld, doctitle, development, pagetracker, return, ente rprise, network, edition, programming, advertise, author, filter, hbxstrip, hbevent, location, mobil e, service, privacy, contact, copyright, reserved, rights, centers, research, patternsjava, lookup, infoworld, gajshost, threads, execcommand, toolbox, content, setmetainfo, string, application, debug gingweb, frameworks, archivesdesign, trapsserver, nwchannel, lifecyclesoftware, articles, methodolog iestesting, 101java, design, resources, javajava |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 7 |
| Programming Java threads in the real world, Part 7 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-04-1999/jw-04-toolbox_p.html |
| Reader/writer locks let multiple threads safely access a shared resource in an efficient way. |
| This month's column builds on the preceding installments of the
Java Toolbox threads series, add ing a few more
tools to your multithreading arsenal. Columnist Allen Holub looks
at reader/w riter locks, which let multiple threads safely access a
shared resource in an efficient way. (Mu ltiple threads can read
from the resource while only one thread at a time can write to it,
a nd reads and writes can't occur at the same time.) He'll also
discuss the Singleton pattern, wit h a focus on implementing it in a
multithreaded environment, and critical sections, or
block s of code that can be executed by only one thread at a time.
(5,300 words) |
| ,threads, multithreading, AWT |
| function, document, javaworld, pageinfo, javaworld, design, programming, doctitle, wesley, reading, maaddison, network, resources, development, described, enterprise, account, edition, pagetracker, re gister, return, advertise, pattern, reader, writer, lookup, location, mobile, threads, chapter, impl ementation, author, members, static, gajshost, filter, contact, setmetainfo, patternsjava, content, hbxstrip, string, toolbox, rights, reserved, service, privacy, copyright, centers, patterns, researc h |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 6 |
| Programming Java threads in the real world, Part 6 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-03-1999/jw-03-toolbox_p.html |
| How to implement the Observer pattern (used by AWT/Swing for its event model) in a multithreaded env ironment. |
| This month continues the thread theme by examining how to implement
the Observer pattern (used b y AWT/Swing for its event model) in a
multithreaded environment. The article covers how to notif y
observers in an efficient, thread-safe way using code modeled after
Java's AWTEventMultica ster. It also considers a few
problems with AWT/Swing's use of Observer. (4,500 words) |
| ,threads, multithreading, AWT, Swing |
| function, document, pageinfo, doctitle, javaworld, javaworld, return, programming, pagetracker, exec command, filter, patternsjava, toolbox, lookup, location, content, string, hbevent, hbxstrip, author , development, gajshost, threads, setmetainfo, programmingthreads, 0architecture, scalabilityenterpr ise, practicesjava, javaajax, conceptsswing, concurrency, enterprise, apisjava, 6191150, initdata, t rackpageview, gettracker, javascript, script, infoworld, centers, research, javaclient, javadesign, languagejava, developers, modernizing, solutions, xmljava, platform, lifecyclesoftware |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 5 |
| Programming Java threads in the real world, Part 5 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-02-1999/jw-02-toolbox_p.html |
| Timers let you perform fixed-interval operations, such as animation refreshes. |
| In an aside to his running series on programming Java threads in
the real world, Allen prefaces this month's column with a look at
one dangerous new "feature" of the Java 2 platform: t he ability to
produce noncompliant class files that will not run on a 1.1 Java
virtual machi ne (JVM).
From there, he picks up the theme from
Part 4 of this series. This month's main topic is timers, both
the one in the Swing library (called Timer) and also a
roll-your- own variety called Alarm, which is useful
when the Swing Timer isn't available or
appropriat e.
Timers let you perform fixed-interval operations, such as
animation refreshes. The A larm implementation included
here is by far the most complicated of the classes you've looked at
so far, and it demonstrates several important Java programming
techniques, such as how to w rite code that needs to suspend and
resume threads without using the (now deprecated)
suspen d() and resume() methods |
| ,threads, multithreading, Java 2 platform |
| function, document, pageinfo, doctitle, javaworld, javaworld, return, programming, pagetracker, exec command, filter, patternsjava, toolbox, lookup, location, content, string, hbevent, hbxstrip, author , development, gajshost, threads, setmetainfo, programmingthreads, 0architecture, scalabilityenterpr ise, practicesjava, javaajax, conceptsswing, concurrency, enterprise, apisjava, 6191150, initdata, t rackpageview, gettracker, javascript, script, infoworld, centers, research, javaclient, javadesign, languagejava, developers, modernizing, solutions, xmljava, platform, lifecyclesoftware |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real world, Part 4 |
| Programming Java threads in the real world, Part 4 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-12-1998/jw-12-toolbox_p.html |
| 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 u p machine cycles in polling loops. |
| This column continues where last month's column left off,
presenting a few more implementations of classes that are useful
when you're doing multithreading in Java. The two classes I'll
di scuss provide capabilities difficult to get using Java's
threading primitives alone: a condition variable adds to
wait the ability to not wait when the condition you're
waiting for has alr eady taken place; and a counting
semaphore lets you control a pool of resources without sucking& #xA;up machine cycles in polling loops. This month's column also
discusses a few minor fixes to the code presented last month.
(6,250 words) |
| ,threads, multithreading, AWT |
| javaworld, document, function, pageinfo, acquire, semaphore, finally, doctitle, exception, release, javaworld, pagetracker, exceptions, column, enterprise, development, account, should, comment, regis ter, advertise, article, network, resources, edition, threads, programming, return, mobile, thrown, counting, gajshost, before, string, though, execcommand, patternsjava, actual, acquired, reserved, v ariable, condition, infoworld, author, discussed, research, rights, setmetainfo, hbxstrip, section, location |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Computers/Programming/Threads/Java |
|
|
| Computers/Programming/Threads/Java |
| zum Seitenanfang ↑ |
| Simple Java Thread Management Library (SJT.Mgmt) |
| index |
| http://simplethread.sourceforge.net/ |
| An easy to use library for adding thread management in Java applications. The library comes from ear ly experience with JServ's lack of thread management, and recent posts to the java developer forums. [Open source] |
| |
| |
| thread, threads, management, memory, system, application, applications, number, intensive, running, library, execution, threading, developer, initial, simple, required, during, performance, safety, wi thout, unknown, options, waiting, requirements, clients, objects, dormant, slower, needed, object, f unctional, testing, thread, operation, connections, resources, appropriate, working, introduce, publ ic, because, accepting, sourceforge, experience, shared, critical, placed, multiple, optimized, appl ications |
sourceforge.net - rank der domain 155 (73 in US)
|
|
| zum Seitenanfang ↑ |
| Singletons with Needles and Thread |
| Singletons with needles and thread - JavaWorld |
| http://www.javaworld.com/javaqa/2002-01/02-qa-0125-singleton4_p.html |
| Presents two approaches to creating thread-safe singletons. |
| January 25, 2002 |
| Java Standard Edition,singleton, design pattern |
| javaworld, javaworld, document, function, pageinfo, javaqa, singletons, patterns, design, doctitle, edition, sintes, advertise, register, development, design, content, network, return, pagetracker, co lumns, resources, account, enterprise, location, articles, author, singleton, gajshost, needles, exe ccommand, discussion, filter, patterns, mobile, patternsjava, contact, service, singleton4, centers, research, rights, copyright, lookup, privacy, setmetainfo, object, string, hbxstrip, infoworld, thr ead |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 3 |
| Programming Java threads in the real world, Part 3 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-11-1998/jw-11-toolbox_p.html |
| Looks at how and why you might want to roll your own exclusion semaphores, and presents a lock manag er that will help you safely acquire multiple semaphores. |
| In Parts 1 and 2 of this series on threads, Allen looked at some of
the pitfalls of writing mult ithreaded applications in Java. This
month, he starts looking at a few solutions. In particular, he
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. (3,000 words) |
| ,threads, multithreading |
| function, document, pageinfo, doctitle, javaworld, javaworld, return, programming, pagetracker, exec command, filter, patternsjava, toolbox, lookup, location, content, string, hbevent, hbxstrip, author , development, gajshost, threads, setmetainfo, programmingthreads, 0architecture, scalabilityenterpr ise, practicesjava, javaajax, conceptsswing, concurrency, enterprise, apisjava, 6191150, initdata, t rackpageview, gettracker, javascript, script, infoworld, centers, research, javaclient, javadesign, languagejava, developers, modernizing, solutions, xmljava, platform, lifecyclesoftware |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 2 |
| Programming Java threads in the real world, Part 2 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-10-1998/jw-10-toolbox_p.html |
| Discusses the perils that can arise when you approach multithreading in a naive way. |
| This article, the second in a multipart series on threads,
discusses the perils that can arise w hen you approach
multithreading in a naive way. As is the case with the entire
series, this article assumes reader familiarity with the basic
thread-related parts of Java: the synchronized keyword
and monitors, wait(), notify(), the
basics of using the Thread class, and so forth. Here,
Allen focuses on the more advanced problems encountered when
programming Java threads in the real world.
Editors' note: Due to the overwhelming and
enthusiastic response f rom readers who read Allen Holub's Part 1
article on threads, JavaWorld has created a regular co lumn
by this author. We hope you enjoy this debut article of
Java Toolbox! (3,800 words) |
| Development Tools,threads, multithreading, AWT |
| function, document, pageinfo, doctitle, javaworld, javaworld, development, return, pagetracker, prog ramming, filter, setmetainfo, hbxstrip, threads, location, hbevent, content, toolbox, patternsjava, author, gajshost, lookup, execcommand, development, string, research, centers, enterprise, programmi ngthreads, concurrency, javaajax, developers, scalabilityenterprise, practicesjava, xmljava, 0archit ecture, conceptsswing, javascript, platform, solutions, trackpageview, infoworld, javadesign, modern izing, languagejava, initdata, script, javaclient, gettracker, 6191150, apisjava |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Programming Java Threads in the Real World, Part 1 |
| Programming Java threads in the real world, Part 1 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-09-1998/jw-09-threads_p.html |
| 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. |
| Programming Java threads isn't nearly as easy (or as
platform-independent) as most books would h ave you believe, and all
Java programs that use the AWT are multithreaded. This article is
t he first in a series that discusses the things you need to know to
program threads in the real w orld. The article assumes you
understand the language-level support for threads (the
synchro nized keyword, how monitors work, the
wait() and notify() methods, and so on)
and focuses on the legion of problems that arise when you try to
use these language features. (3,400 words) |
| Development Tools,threads, multithreading, AWT |
| locking, program, threads, function, javaworld, document, platform, synchronized, synchronization, m ethod, double, thread, pageinfo, return, resources, methods, threading, programming, doctitle, itera tions, multiple, independent, multithreading, problem, issues, development, gettime, javaworld, mult ithreaded, register, hotspot, access, increase, actually, operations, string, pagetracker, system, n etwork, enterprise, account, println, executing, tester, advertise, before, edition, atomic, assignm ent, system, variables |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Can Double-Checked Locking be Fixed? |
| Can double-checked locking be fixed? - JavaWorld |
| http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-double_p.html |
| 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. |
| In February, JavaWorld ran two articles on the
double-checked locking idiom and its hazards, 4;Double-Checked
Locking: Clever, but Broken and "Warning!
Threading in a Multiprocessor World." In response to these
articles, many JavaWorld readers proposed fixes to the
pro blem. In this article, Brian Goetz looks at some of the commonly
proposed fixes and shows how ea ch of them fails to render the DCL
idiom thread-safe under the Java Memory Model. (2,500
wor ds) |
| Development Tools,algorithms, concurrent programming, multithreading, locking |
| javaworld, javaworld, double, document, function, pageinfo, edition, locking, checked, obidos, memor y, development, amazon, doctitle, programming, programming, enterprise, resources, pagetracker, retu rn, double, register, account, network, advertise, february, patternsjava, comments, second, broken, wesley, addison, memory, gajshost, useful, author, filter, subject, checked, infoworld, comment, an onymous, memorymodel, vermeulen, editor, lookup, mobile, issues, itworld, letters, multithreaded |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| The "Double-Checked Locking is Broken" Declaration |
| The "Double-Checked Locking is Broken" Declaration |
| http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html |
| Details on the reasons - some very subtle - why double-checked locking cannot be relied upon to be s afe. Signed by a number of experts, including Sun engineers. |
| |
| |
| helper, helper, memory, object, synchronization, double, thread, return, checked, locking, synchroni zed, gethelper, private, double, barrier, public, cachedhashcode, volatile, compiler, processor, loc king, writes, checked, constructor, barriers, members, functions, singleton, perform, multithreaded, version, perthreadinstance, reference, initialization, semantics, reasons, broken, performed, insta nce, singletons, static, processors, before, thread, schmidt, system, computehashcode, values, shoul d, following, separate |
umd.edu - rank der domain 6109 (2289 in US)
|
|
| zum Seitenanfang ↑ |
| Thread Synchronization in Java (Sources) |
| DevCentral - - Thread Synchronization in Java Code |
| http://devcentral.iticentral.com/articles/Java/thread_sync/code.html |
| Introduces basic concurrency problems and shows how to solve them by using builtin Java synchronizat ion primitives. (Only sources free accessed without registration) |
| |
| |
| readers, reading, writers, synchronized, public, readlock, blocked, return, writelock, private, unlo ck, releaselock, boolean, readdata, release, succeeded, integer, significant, semaphore, millisecond s, printstacktrace, object, reader, interruptedexception, decrement, problem, increment, solves, loc ked, criticalresourceusingsynchronizedandlocks, nanoseconds, import, semephore, criticalresourceusin glocks, writing, before, thread, notify, pseudo, wanted, writer, criticalresourceusingsynchronized, thread, because, called, synchonized, releases, islocked, synchronization, devcentral, occured |
iticentral.com - rank der domain 974578 (413838 in US)
|
|
| zum Seitenanfang ↑ |
| Implementing Read-Write Locks in Java |
| Read/Write Locks in Java by Amandeep Singh |
| http://www.asingh.net/technical/rwlocks.html |
| Read-write locks allow multiple threads to acquire a read lock provided no other thread currently ha s 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. |
| |
| |
| givenlocks, rwlock, threads, thread, waitingwriters, private, public, synchronized, acquire, availab le, waiting, provided, getwritelock, example, return, object, functionality, concurrently, holding, provide, variable, preference, download, multiple, getreadlock, stations, consider, should, readers, writer, becomes, contact, search, represents, rwlock, interests, releaselock, technical, notifyall, number, variable, through, program, output, modify, sample, implementation, access, methods, synchr onize, immediately |
| (SLD : asingh.net) |
|
| zum Seitenanfang ↑ |
| Avoid Synchronization Deadlocks |
| Avoid synchronization deadlocks - JavaWorld |
| http://www.javaworld.com/javaworld/jw-10-2001/jw-1012-deadlock_p.html |
| Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the li kelihood of synchronization deadlocks. |
| Though essential for ensuring the thread safety of Java classes,
synchronization, if used improp erly, can create the possibility for
deadlocks. If you understand how your programs use synchron ization,
and apply consistent rules for acquiring multiple locks
simultaneously, you can red uce the likelihood of synchronization
deadlock in Java programs. |
| Development Tools,algorithms, concurrent programming, multithreading, locking, deadlock |
| function, document, pageinfo, doctitle, javaworld, javaworld, return, development, pagetracker, hbev ent, example, author, location, deadlocks, gajshost, content, filter, execcommand, setmetainfo, look up, synchronized, string, resources, deadlock, patternsjava, hbxstrip, deadlock, synchronization, de velopment, javajava, 101java, techniqueshow, design, tipsjava, archivesdesign, frameworks, lifecycle software, methodologiestesting, debuggingweb, application, languagessoftware, methodsapplication, ja vaajax, 0architecture, scalabilityenterprise, javadesign, enterprise, concurrency, apisjava, platfor m, programming |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Can ThreadLocal Solve the Double-checked Locking Problem? |
| Can ThreadLocal solve the double-checked locking problem? - JavaWorld |
| http://www.javaworld.com/javaworld/jw-11-2001/jw-1116-dcl_p.html |
| Explains how to fix the double-checked locking idiom by using thread-local variables and takes a loo k at its performance. |
| It has been suggested that java.lang.ThreadLocal can
be used to fix the problems with the double -checked locking (DCL)
idiom once and for all. ThreadLocal is indeed an
underappreciated too l in the Java Class Library and does solve the
thread-safety problems of DCL, but unfortunately it does not meet
the performance objectives of DCL -- yet. |
| ,algorithms, concurrent programming, multithreading, locking, synchronization, ThreadLocal |
| javaworld, javaworld, document, function, pageinfo, double, programming, edition, doctitle, performa nce, design, articles, content, resources, development, letters, advertise, network, pagetracker, ob idos, amazon, account, register, return, enterprise, locking, threadlocal, checked, location, patter nsjava, practices, author, mobile, exceptional, september, gajshost, october, infoworld, filter, thr ead, hbxstrip, contact, reserved, february, checked, string, centers, setmetainfo, service, copyrigh t, privacy |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Thread Synchronization in Java |
| Thread Synchronization |
| http://www.sws.bfh.ch/~fischli/threads/ |
| Producer Consumer, Dining Philosophers, Reader Writer problems. Applet demonstration, design diagram . Source code accessible by e-mail request. |
| |
| |
| synchronization, thread |
bfh.ch - rank der domain 213638 (492 in CH)
|
|
| zum Seitenanfang ↑ |
| Achieve Strong Performance With Threads, Part 1 |
| Achieve strong performance with threads, Part 1 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-05-2002/jw-0503-java101.html |
| Gives an introduction to threads and explores the Thread class and runnables. |
| Users hate unresponsive software. When users click a mouse, they expect a program to instantly respo nd to their requests, even when the program is in the midst of a time-consuming activity, such as re paginating a long document or waiting for a network operation to complete. Programs that respond slo wly to their users exhibit poor performance. To improve a program's performance, developers typicall y use threads. |
| Development Tools,threads |
| function, document, javaworld, pageinfo, doctitle, javaworld, development, edition, return, network, advertise, pagetracker, enterprise, centers, research, content, infoworld, setmetainfo, patternsjav a, hbevent, hbxstrip, contact, lookup, mobile, location, gajshost, filter, author, threads, developm ent, reserved, execcommand, string, performance, rights, service, copyright, privacy, achieve, stron g, java101, languagessoftware, technetwork, linuxworld, services, developmentweb, methodsapplication , itworld, ventures, idesjava, toolsscripting |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Achieve Strong Performance With Threads, Part 2 |
| Achieve strong performance with threads, Part 2 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-06-2002/jw-0607-java101.html |
| Explains synchronization, Java's synchronization mechanism, and two problems that arise when develop ers fail to use that mechanism correctly. |
| Is creating multithreaded Java programs hard? With the information gleaned from Part 1 of Java 101's thread series only, you might answer no. After all, last month I showed you how easy it is to creat e thread objects, start threads that associate with those objects by calling Thread's start() method , and perform simple thread operations by calling other Thread methods, such as the three overloaded join() methods. Yet many developers face difficulty when developing properly behaving multithreaded programs. All too often, their programs function erratically or produce erroneous values. For examp le, a multithreaded program might store incorrect employee details, such as name and address, in a d atabase. The name might belong to one employee, whereas the address belongs to another. What causes that strange behavior? The lack of synchronization: the act of serializing, or ordering one at a tim e, thread access to those code sequences that let multiple threads manipulate class and instance fie ld variables, and other |
| Development Tools,threads |
| document, function, pageinfo, javaworld, doctitle, javaworld, development, network, return, edition, pagetracker, advertise, enterprise, gajshost, author, location, hbxstrip, hbevent, filter, service, privacy, contact, copyright, reserved, rights, centers, research, patternsjava, mobile, lookup, inf oworld, threads, performance, strong, achieve, execcommand, java101, string, development, setmetainf o, content, design, javajava, frameworks, application, archivesdesign, techniqueshow, tipsjava, 101j ava, javaunder, featured |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Achieve Strong Performance With Threads, Part 3 |
| Achieve strong performance with threads, Part 3 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-07-2002/jw-0703-java101.html |
| Explains how priority relates to thread scheduling and how to use the wait/notify mechanism to coord inate the activities of multiple threads. |
| This month, I continue my four-part thread series by focusing on thread scheduling, the wait/notify mechanism, and thread interruption. You'll investigate how either a JVM or an operating-system threa d scheduler chooses the next thread for execution. As you'll discover, priority is important to a th read scheduler's choice. You'll examine how a thread waits until it receives notification from anoth er thread before it continues execution and learn how to use the wait/notify mechanism for coordinat ing the execution of two threads in a producer-consumer relationship. Finally, you'll learn how to p rematurely awaken either a sleeping or a waiting thread for thread termination or other tasks. I'll also teach you how a thread that is neither sleeping nor waiting detects an interruption request fro m another thread. |
| Development Tools,threads |
| document, function, pageinfo, javaworld, doctitle, javaworld, development, edition, return, network, advertise, enterprise, pagetracker, research, hbevent, centers, setmetainfo, patternsjava, infoworl d, content, mobile, hbxstrip, location, filter, contact, gajshost, author, lookup, threads, execcomm and, development, reserved, string, performance, rights, privacy, achieve, service, copyright, stron g, java101, technetwork, macworld, methodsapplication, ventures, services, itworld, serversdata, lin uxworld, idesjava, toolsscripting |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Achieve Strong Performance With Threads, Part 4 |
| Achieve strong performance with threads, Part 4 - JavaWorld |
| http://www.javaworld.com/javaworld/jw-08-2002/jw-0802-java101.html |
| Focuses on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. Als o describes how various thread concepts combine to finalize objects. |
| My previous three articles explored an assortment of thread concepts: the Thread class, the Runnable interface, exceptions and the run() method, synchronization, thread scheduling, the wait/notify mec hanism, and thread interruption. This month's Java 101 concludes the thread series by focusing on th read groups, volatility, thread-local variables, timers, and the ThreadDeath class. Want more on thr eads? The sidebar "Finalization and Threads" describes how various thread concepts combine t o finalize objects. |
| Development Tools,threads |
| document, function, pageinfo, javaworld, doctitle, javaworld, return, pagetracker, development, java 101, hbxstrip, hbevent, location, content, patternsjava, filter, setmetainfo, lookup, author, gajsho st, strong, achieve, performance, threads, string, execcommand, development, conceptsswing, research , centers, programmingthreads, concurrency, javaajax, practicesjava, scalabilityenterprise, 0archite cture, developers, enterprise, programming, languagejava, platform, 6191150, initdata, trackpageview , javadesign, modernizing, gettracker, javaclient, infoworld, solutions, apisjava |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Extending Java to Support Shared Resource Protection and Deadlock Detection in Threads Programming |
| XRDS: Crossroads, The ACM Magazine for Students |
| http://www.acm.org/crossroads/xrds4-2/dynac.html |
| The current Java thread specification does not adequately provide for the protection of shared resou rces or for deadlock detection. A model is introduced and implemented that can provides shared resou rce protection and deadlock detection. (ACM Crossroads) |
| XRDS Crossroads ACM student magazine computer science CS student* computing engineering graduate phd information for computer science student* |
| XRDS Crossroads ACM computer science CS student* information articles news features interviews advi ce for students of computing, computer science, engineering |
| document, mobile, magazine, students, search, author, involved, contact, guidelines, events, becomin g, mobile, digital, magazine, students, crossroads, subscribe, script, editor, happening, contains, iframe, sending, parentnode, insertbefore, article, submitting, website, largely, computing, aspects , number, background, participate, e0e0e0, getelementsbytagname, protocol, location, solutions, righ ts, reserved, setaccount, function, trackpageview, javascript, 16692460, membership, information, ed itors, chapter, createelement |
acm.org - rank der domain 5466 (2034 in US)
|
|
| zum Seitenanfang ↑ |
| Threading Lightly: Exploiting ThreadLocal to Enhance Scalability |
| Threading lightly, Part 3: Sometimes it's best not to share |
| http://www.ibm.com/developerworks/java/library/j-threads3.html |
| Examines ThreadLocal and offers tips for exploiting its power. By Brian Goetz. |
| The ThreadLocal class appeared with little fanfare in version 1.2 of the Java platform. While Thread Local gets relatively little attention, it can be very handy for simplifying the development of thre ad-safe concurrent programs. In this third installment of Threading lightly, Java software consultan t Brian Goetz examines ThreadLocal and offers tips for exploiting its power. |
| synchronization, performance, multithreaded, Java threads, contention, Java programming, ThreadLocal , concurrent programming, Brian Goetz, tttjca |
| thread, threadlocal, public, thread, threads, values, performance, object, connection, variables, in formation, object, listing, developerworks, objects, return, version, variable, content, static, imp lementation, software, synchronization, profile, interests, because, classes, private, initialvalue, multithreaded, safely, inheritablethreadlocal, support, language, initial, jquery, debugging, singl eton, development, method, contention, platform, useful, technique, currentthread, multiple, example , program, process, because, create |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Threading Lightly: Reducing Contention |
| Threading lightly, Part 2: Reducing contention |
| http://www.ibm.com/developerworks/java/library/j-threads2.html |
| Explains why contended synchronization is a problem and then explores several techniques for reducin g contention, and hence improving scalability. |
| In Part 1 of this series, we examined the performance overhead of uncontended synchronization. With each successive JVM version, overall performance has improved, and the cost of uncontended synchroni zation has been reduced, making the issue of uncontended synchronization overhead less significant. Contended synchronization, however, is quite expensive. This article will explore several techniques for reducing contention, and hence improving scalability, in your programs. |
| synchronization, performance, multithreaded, Java threads, contention, Java programming, Brian Goetz , tttjca |
| synchronized, contention, string, hashmap, public, thread, performance, return, rights, listing, syn chronization, threads, object, service, lockpoolmap, technique, servicesmap, buckets, method, access , private, usersmap, developerworks, bucket, longest, scalability, content, reducing, overhead, redu cing, program, programs, profile, maxlen, software, interests, number, because, jquery, system, vect or, acquire, length, shared, granularity, techniques, development, faster, article, version, methods |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Threading Lightly: Synchronization is not the Enemy |
| Threading lightly, Part 1: Synchronization is not the enemy |
| http://www.ibm.com/developerworks/java/library/j-threads1.html |
| Takes a look at the semantics and the performance penalty of Java's synchronized keyword. By Brian G oetz. |
| Unlike many other programming languages, the Java Language Specification included explicit support f or threading and concurrency. While having language support for concurrency makes it easier to speci fy and manage constraints on shared data and the timing of operations across threads, it doesn't mak e the complexities of concurrent programming any easier to understand. This three-part series aims t o help programmers understand some of the major issues behind multithreaded programming in the Java language, and in particular to understand the impact of thread safety on Java program performance. |
| java synchronization multithreaded performance threads Brian Goetz tutorials code resources, tttjca |
| performance, synchronization, synchronized, thread, threads, method, shared, penalty, unsynchronized , programs, program, synchronize, developerworks, methods, synchronizing, language, public, version, threading, uncontended, content, multithreaded, object, simple, profile, programming, numbers, timi ng, simply, memory, writing, between, results, interests, several, return, software, protect, across , conditions, reducing, jquery, programmers, expensive, environment, section, slower, identify, deve lopment, performance, create |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Writing Multithreaded Java Applications |
| Writing multithreaded Java applications |
| http://www.ibm.com/developerworks/library/j-thread.html |
| Introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems. By Alex Roetter. |
| The Java Thread API allows programmers to write applications that can take advantage of multiple pro cessors and perform background tasks while still retaining the interactive feel that users require. Alex Roetter introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems. |
| multithreads, thread API, locks, semaphores, synchronization, synchronized java tutorials, java trai ning, java help, java standards, java code, java resources, java programming, java how to, component s, beans, java beans, jdk, jugs, java user groups, tttjca |
| thread, threads, object, synchronized, resources, semaphore, method, access, available, shared, prog ram, another, problems, multiple, acquire, processor, worker, number, developerworks, programming, b locking, before, multithreaded, waiting, machine, threading, public, content, because, example, meth ods, programs, variables, problem, stanford, applications, multithreading, common, language, approac h, preemptive, interests, profile, design, modify, writing, thread, synchronize, resource, simple, j query |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Multithreading in Java |
| Multithreading in Java |
| http://www.devarticles.com/c/a/Java/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. |
| Multithreading in Java |
| Multithreading, in, Java |
| 290307, design, multithreading, sheets, photoshop, reviews, server, authoring, generation, mobile, o racle, services, standards, visual, forums, articles, apache, coldfusion, urchintracker, window, goo gle, analytics, delphi, graphic, interviews, javascript, embedded, usability, development, cycles |
devarticles.com - rank der domain 14989 (5550 in US)
|
|
| zum Seitenanfang ↑ |
| Concurrent Programming with Java Lab |
| Concurrent Programming with Java Lab-Manual |
| http://astha.8m.net/CPwJ/index.html |
| Lab. manual by Astha Ekadiyanto. |
| |
| |
| border, 3366cc, background, family, programming, concurrent, manual |
| (SLD : 8m.net) |
|
| zum Seitenanfang ↑ |
| Seminar: Concurrent Programming in Java |
| AngelikaLanger.com - Concurrent Java - Angelika Langer Training/Consulting |
| http://www.angelikalanger.com/Courses/ConcurrentJava.htm |
| A course covering all aspects of multi-thread programming in Java from plain synchronization over Ja va 5.0 concurrency utilities to memory model issues. |
| |
| Java, multithreading, concurrent programming |
| thread, angelika, concurrent, langer, programming, german, course, concurrent, programs, threads, in formation, programmers, courses, further, experience, multiple, training, several, oriented, softwar e, asynchronous, issues, control, memory, threads, development, language, registration, effective, b asics, generics, general, iostreams, atomic, courses, thread, multicore, control, design, computing, availability, variables, architectures, industry, message, seminar, duration, practical, available, understand, concurrency |
angelikalanger.com - rank der domain 968937 (69217 in DE)
|
|
| zum Seitenanfang ↑ |
| JKeyLockManager |
| jkeylockmanager -
Project Hosting on Google Code |
| http://code.google.com/p/jkeylockmanager/ |
| Provides fine-grained locking with application specific keys. [Open Source] |
| |
| |
| codesite, activity, images, repeat, gstatic, background, public, service, document, cityname, projec t, constraint, concurrency, access, jkeylockmanager, callback, height, samplingtime, temperature, th read, updateweatherdata, grained, jkeylockmanager, sprite, dropdown, weather, google, hosting, menui con, weatherserviceproxy, completely, doinlock, nowrap, lockcallback, executelocked, execute, concur rently, manager, cities, concurrent, simple, compliance, string, location, function, keylockmanagers , lockmanager, provides, getelementsbytagname, projecttracker, sitetracker |
google.com - rank der domain 1 (1 in US)
|
|
| zum Seitenanfang ↑ |
| Java Concurrency with Thread Gates |
| Java concurrency with thread gates - JavaWorld |
| http://www.javaworld.com/javaworld/jw-03-2009/jw-03-java-concurrency-with-thread-gates.html |
| The thread gate pattern is an effective tool for managing thread concurrency, but not many developer s know about it. Introduces the concept of thread gates, and then shows how to implement them in a m ultithreaded prime-number generator. |
| The thread gate pattern is an effective tool for managing thread concurrency, but not many developer s know about it. Fire up your IDE for a quick tutorial in implementing thread gates in multithreaded business applications.
|
| Java Standard Edition,Java concurrency, multithreaded, multi-threaded, multicore, threads,
threa d gates, concurrent processing, parallelization, synchronization, JUnit 4, Maven 2, Obi Ezechukwu A; |
| document, function, pageinfo, javaworld, javaworld, thread, doctitle, concurrency, edition, advertis e, network, return, enterprise, development, pagetracker, content, author, research, centers, filter , setmetainfo, location, lookup, hbxstrip, gajshost, mobile, hbevent, standard, contact, reserved, r ights, string, execcommand, infoworld, patternsjava, 166063, privacy, copyright, service, applicatio n, idesjava, rdbmsenterprise, middlewarejava, source, securityopen, lifecyclesoftware, management, j avaclient, debuggingweb, methodologiestesting, toolsscripting |
javaworld.com - rank der domain 20670 (803 in IN)
|
|
| zum Seitenanfang ↑ |
| Double-checked Locking and the Singleton Pattern |
| Double-checked locking and the Singleton pattern |
| http://www.ibm.com/developerworks/java/library/j-dcl.html |
| Examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't wor k. |
| All programming languages have their share of idioms. Many are useful to know and use, and programme rs spend valuable time creating, learning, and implementing them. The problem is that some idioms ar e later proven not to be all that they were purported, or to simply not work as described. Double-ch ecked locking is one such idiom in the Java programming language that should never be used. In this article, Peter Haggar examines the roots of the double-checked locking idiom, why it was developed, and why it doesn't work. |
| double-checked locking, singleton, multithreading, java programming, Java memory model, JMM, peter h aggar, tttjca |
| instance, singleton, listing, thread, getinstance, checked, locking, method, thread, object, double, synchronized, memory, problem, string, synchronization, static, enters, public, private, constructo r, programming, reference, however, because, developerworks, created, volatile, return, threads, tec hnology, mutablestring, preempted, executes, second, creates, returns, assembly, before, should, bec ause, content, stringreader, following, current, haggar, addition, immutable, interests, variable, p rofile |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Safe construction techniques |
| Java theory and practice: Safe construction techniques |
| http://www.ibm.com/developerworks/library/j-jtp0618.html |
| Concurrent programming in Java applications is more complicated than it looks: there are several sub tle (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 hazard: allowing the this reference to escape during construction. |
| Concurrent programming in Java applications is more complicated than it looks: there are several sub tle (and not so subtle) ways to create data races and other concurrency hazards in Java programs. In this installment of Java theory and practice, Brian Goetz looks at a common threading hazard: allow ing the this reference to escape during construction. This harmless-looking practice can cause unpre dictable and undesirable results in your Java programs. |
| Constructor, thread safety, this reference, multithreading, thread, escape during construction, conc urrency, Brian Goetz, Java theory and practice, tttjca |
| thread, reference, public, constructor, object, threads, construction, listing, content, visible, de veloperworks, unsafe, because, jquery, websphere, another, eventlistener, static, synchronization, d uring, problem, constructed, example, second, software, mythread, private, technology, source, const ructors, article, profile, concurrency, classes, interests, eventsource, onevent, development, escap e, before, applications, within, publish, programs, server, application, particular, someotherclass, subclass, possible, thread |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Thread Pools and Work Queues |
| Java theory and practice: Thread pools and work queues |
| http://www.ibm.com/developerworks/library/j-jtp0730.html |
| Explores the motivations for thread pools, some basic implementation and tuning techniques, and some common hazards to avoid. |
| One of the most common questions posted on our Multithreaded Java programming discussion forum is so me version of how to create a thread pool. In nearly every server application, the question of threa d pools and work queues comes up. In this article, Brian Goetz explores the motivations for thread p ools, some basic implementation and tuning techniques, and some common hazards to avoid. |
| thread, thread pools, concurrency, wait, notify, performance, Runnable, util.concurrent, PooledExecu tor, Executor, Brian Goetz, tttjca |
| thread, threads, server, request, resources, application, thread, system, concurrent, applications, notify, resource, available, developerworks, waiting, because, object, number, content, deadlock, ov erhead, requests, additional, profile, implementation, interests, processing, approach, thrashing, n threads, queues, software, memory, classes, consume, execute, package, jquery, runnable, multithread ed, significant, background, performance, creating, multiple, servers, arrives, certain, program, de velopment, public |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Hey, where'd my thread go? |
| Java theory and practice: Hey, where'd my thread go? |
| http://www.ibm.com/developerworks/library/j-jtp0924.html |
| If you're not careful, threads can disappear from server applications without a (stack) trace. In th is article, threading expert Brian Goetz offers some techniques for both prevention and detection of threads going AWOL. |
| If you're not careful, threads can disappear from server applications without a (stack) trace. In th is article, threading expert Brian Goetz offers some techniques for both prevention and detection of threads going AWOL. |
| Brian Goetz, Java Theory and Practice, thread pool, thread leakage, RuntimeException, uncaughtExcept ion, tttjca |
| thread, threads, application, server, developerworks, content, runtimeexception, responses, jquery, public, exception, websphere, thread, applications, example, response, software, service, messages, problem, uncaught, technology, source, threadgroup, plugin, message, incoming, queues, profile, writ ten, interests, article, leakage, development, services, practice, exceptions, system, through, serv er, theory, application, received, restart, against, outgoing, calling, static, uncaughtexception, e xternal, likely |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Going Atomic |
| Java theory and practice: Going atomic |
| http://www.ibm.com/developerworks/java/library/j-jtp11234/ |
| Explains how the new atomic variable classes in JDK 5.0 enable the development of highly scalable no nblocking algorithms in the Java language. |
| Until JDK 5.0, it was not possible to write wait-free, lock-free algorithms in the Java language wit hout using native code. The addition of the atomic variable classes in java.util.concurrent changes that situation. Follow along with concurrency expert Brian Goetz as he explains how these new classe s have enabled the development of highly scalable nonblocking algorithms in the Java language. Share your thoughts on this article with the author and other readers in the accompanying discussion foru m. |
| Brian Goetz, Java Theory and Practice, atomic, atomic variable, AtomicInteger, compare and swap, CAS , throughput, scalability, priority inversion, locking, lock-free, wait-free, nonblocking, tttjca |
| atomic, variables, thread, classes, threads, synchronization, public, concurrent, algorithms, variab le, listing, reentrantlock, processors, synchronized, counter, operation, return, compare, developer works, operations, locking, number, content, oldvalue, increment, another, access, coordination, cur owner, contention, called, shared, modify, development, throughput, support, profile, approach, inte rests, problem, performance, volatile, private, getvalue, acquire, hardware, waiting, multiple, gene rally, without, example |
ibm.com - rank der domain 510 (82 in CN)
|
|
| zum Seitenanfang ↑ |
| Java Threads |
| Java Threads | engin güller |
| http://www.eguller.com/?p=443 |
| An article covering Java thread basics. |
| A thread allow us to run task simultaneously. In this post you will learn how to initialize a thread , what is Runnable interface and Thread class, when we use |
| java,java threads |
| thread, thread, public, ferrari, system, println, method, porsche, runnable, static, closed, threads , synchronized, execution, passed, getname, string, currentthread, seconds, should, turned, object, methods, randomnumber, gateopen, implements, guessstat, tekirdag, running, minguess, another, maxgue ss, extends, malkara, program, random, scheduler, threadgate, between, gaterunnable, setpriority, in terruptedexception, number, threads, create, somemethod, waiting, schedular, passthegate, return, ca nnot |
| (SLD : eguller.com) |
|
| zum Seitenanfang ↑ |
| Java Concurrency / Multithreading - Tutorial |
| Java Concurrency / Multithreading - Tutorial |
| http://www.vogella.de/articles/JavaConcurrency/article.html |
| This article describes how to do concurrent programming with Java and the Java 5.0 concurrency colle ction. Covers threads, the executor framework (thread pools), futures, callables, deadlocks and the fork-join framework. |
| Java Concurrency / Multithreading This article describes how to do concurrent programming with Java. It covers the concepts of parallel programming, immutability, threads, the executor framework (thre ad pools), futures, callables and the fork-join framework. |
| |
| threads, public, import, thread, concurrent, vogella, return, concurrency, string, package, executor , result, concurrency, variable, arraylist, memory, worker, atomic, synchronized, callable, private, access, countuntil, future, algorithm, runnable, system, myrunnable, operation, several, threads, r evision, method, println, volatile, solver, integer, thread, submit, framework, blocking, parallel, static, executors, 2009lars, processes, number, running, program, keyword, example |
vogella.de - rank der domain 900031 (368194 in US)
|
|
| zum Seitenanfang ↑ |
|