concurrency

  • submit to reddit

Java 7 Fork/Join example implementing Object Pool pattern for mathematical procedures

Fork/Join (JDK 1.7) New in the Java SE 7 release, the fork/join framework is an implementation of the ExecutorService interface that helps you take advantage of multiple processors. It is designed for work that can be broken into smaller pieces...

0 replies - 489 views - 12/19/11 by Angel Lacret in Articles

Java Threads on Steroids

If you're much into concurrency, then you must have stumbled upon the disruptor concurrency framework engineered and open-sourced by LMAX.

5 replies - 7895 views - 08/11/11 by Wojciech Kudla in Articles

Talking about Akka, Scala and life with Jonas Bonér

Welcome to the fifth in a series of interviews dedicated to learning more about JetBrains Development Academy Experts. This time we will interview Jonas Bonér. Jonas is a Java Champion, an owner of Scalable Solutions and an author of the Akka framework.

1 replies - 9281 views - 04/05/11 by Václav Pech in Articles

ThreadPoolExecutor and Pool Sizes Quirk

I recently ran into a problem while using ThreadPoolExecutor. As you probably know, ThreadPoolExecutor takes (among the others), two parameters - corePoolSize and maximumPoolSize. Also by default (and in Java5 you can't change the default) it never stops...

6 replies - 4995 views - 11/01/10 by Vitalii Tymchyshyn in Tips and Tricks

Daily Dose - University Building a New Parallel Java

With funding from the US National Science Foundation (NSF), Intel, and Microsoft, the University of Illinois at Urbana-Champaign has undertaken a project to build a new parallel implementation of the Java language that is the first to guarantee deterministic...

0 replies - 18229 views - 10/17/10 by Mitchell Pronsc... in Daily Dose

CountDownLatch Use-Cases

CountDownLatch is one of the classes that was added to the Java 5 concurrency package. It allows one or more threads to wait until a set of operations being performed in other threads are completed. In this article, I will talk about two use-cases where...

3 replies - 7682 views - 08/24/10 by Shekhar Gulati in Articles

Decisions, Decisions… Figuring Out Which JavaOne Sessions to Attend

Ok, now I really want to go to JavaOne.  I just found Oracle's new Content Catalog, which indexes all of the JavaOne, Oracle Develop, and Open World sessions for you to search - essentially making our acceptance-day list on DZone obsolete (but not in vain! ...

0 replies - 5236 views - 07/14/10 by Mitchell Pronsc... in Articles

New Challenges in JDBC Usage Patterns

In this interview, Jesse Davis gives us an update on what's happening at the JDBC expert group in the JCP. Right now they're preparing for a maintenance...

1 replies - 10577 views - 06/14/10 by Lyndsey Clevesy in Videos

Handling concurrency using optimistic locking technique

In a real world scenario, we deal with concurrency mostly during a database update .To be more specific, if a specific row in database table is being processed by two concurrent threads/process one should not update the stale data. Personally, I never...

19 replies - 5225 views - 05/26/10 by Ramsundar Kuppusamy in News

ColdFusion 9 and Hibernate Integration - Advanced Features

ColdFusion makes it very easy to use Hibernate out-of-box.  This presentation takes you through the more complex features in the CF9 Hibernate integration. ...

0 replies - 7122 views - 03/30/10 by Eric Hagan in Videos

GVision: A New Internet Technology

This 8-minute screencast introduces a new Internet technology called GVision. The subtle way in which it is presented may lead you to believe that this new open source project is just another clone of Desktop technologies such as Adobe Air, JavaFX, and...

0 replies - 5332 views - 03/16/10 by Lucio Biondi in Articles

Do Your Iterators Always Fail-Fast?

The iterators of the Collection implementations of the Java runtime throw a ConcurrentModificationException[1] when they detect that another thread has modified the Collection while a thread is iterating over it. Such iterators are generally called fail-fast...

4 replies - 5983 views - 11/21/09 by Bharath Ganesh in Articles

Skandium Java Multi-core Library Release 1.0b2

Parallelism patterns for Multi-core in Java Version 1.0b2 of the Skandium Java Multi-core Library has been released at: http://skandium.niclabs.cl/

0 replies - 1571 views - 11/19/09 by Mario Leyton in Announcements

Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine

When I laid my hands on this book I was delighted to see that it's part of "The Pragmatic Programmers" series. As a developer I have a high respect for books in this series because they...

0 replies - 6696 views - 11/09/09 by German Viscuso in Book Reviews

Secret Agents helping your code handle concurrency

Among all the available options to safely and correctly manage shared state in concurrent programs, I've selected the concept of Agents for my today's post. I'll describe the principle and show use of Agents in Groovy, leveraging the GParallelizer library.

0 replies - 5393 views - 09/15/09 by Václav Pech in News