• Shortcuts : 'n' next unread feed - 'p' previous unread feed • Styles : 1 2

» Publishers, Monetize your RSS feeds with FeedShow:  More infos  (Show/Hide Ads)


Date: Tuesday, 09 Sep 2014 00:00
The JavaDocs for method Object.hashCode() seems to suggest that the value is somehow related to memory location. However, in this newsletter we discover that there are several different algorithms and that Java 8 has new defaults to give better threading result if we call hashCode a lot.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Friday, 06 Jun 2014 00:00
Lambdas in Java took a long time in coming, due to the considerable engineering effort put into incorporating them into the Java Language. Unfortunately checked exceptions are not managed as seamlessly as they should.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Friday, 30 May 2014 00:00
Whenever we have thread pools in our system, we need to make their size configurable. In this follow-up, we continue looking at some issues with the common fork/join pool that is used in Java 8.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Wednesday, 28 May 2014 00:00
Java 8 magically makes all our code run in parallel. If you believe that, I've got a tower in Paris that I'm trying to sell. Really good price. In this newsletter we look at how the parallism is determined and how we can influence it.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Wednesday, 30 Apr 2014 00:00
The LinkedHashMap has a little known feature that can return elements in least recently accessed order, rather than insertion order. In this newsletter we use this to construct a "Recently Used File" list.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Tuesday, 18 Feb 2014 00:00
One of the techniques we use to ensure that a non-threadsafe class can still be used by multiple threads is to give each thread its own instance. We call this "thread confinement". In this newsletter we look at some of the issues that can happen when this instance leaks.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Tuesday, 11 Feb 2014 00:00
Heavily contended concurrent constructs may benefit from a small pause after a CAS failure, but this may lead to worse performance if we do more work in between each update attempt. In this follow-up newsletter, we show how adding CPU consumption can change our performance characteristics.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Friday, 07 Feb 2014 00:00
What is faster? Synchronized or Atomic compare-and-set? In this newsletter we look at some surprising results when we run Java on the new i7 chip.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Monday, 30 Dec 2013 00:00
Software engineers need to have a good understanding of mathematics. In this newsletter, we review a book written by a geek and aimed at the geek who wants to discover interesting facts about maths.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Monday, 02 Dec 2013 00:00
Java 8 includes a new synchronization mechanism called StampedLock. It differentiates between exclusive and non-exclusive locks, similar to the ReentrantReadWriteLock. However, it also allows for optimistic reads, which is not supported by the ReentrantReadWriteLock. In this newsletter, we look at some idioms on how to use this new synchronizer.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Thursday, 10 Oct 2013 00:00
CompletionService queues finished tasks, making it easier to retrieve Futures in order of completion. But it lacks some basic functionality, such as a count of how many tasks have been submitted.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Friday, 20 Sep 2013 00:00
When a thread is interrupted, we need to be careful to not create a livelock in our code by re-interrupting without returning from the method.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Friday, 19 Jul 2013 00:00
Maps and Sets in Java have some similarities. In this newsletter we show a nice little trick for converting a map class into a set.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Thursday, 30 May 2013 00:00
We continue our discussion on Unicode by looking at how we can compare text that uses diacritical marks or special characters such as the German Umlaut.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Wednesday, 22 May 2013 00:00
In this newsletter we investigate what can go wrong when we call methods from constructors, showing examples from the JDK, Glassfish, Spring Framework and some other well known frameworks..
Author: "--"
Send by mail Print  Save  Delicious 
Date: Thursday, 11 Apr 2013 00:00
Unicode is the most important computing industry standard for representation and handling of text, no matter which of the world's writing systems is used. This newsletter discusses some selected features of Unicode, and how they might be dealt with in Java.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Sunday, 31 Mar 2013 00:00
How can you set a field at point of declaration if its constructor throws a checked exception?
Author: "--"
Send by mail Print  Save  Delicious 
Date: Thursday, 27 Dec 2012 00:00
The trend of marking parameters and local variables as "final" does not really enhance your code, nor does it make it more secure.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Tuesday, 13 Nov 2012 00:00
We present a new type of ExecutorService that allows users to "stripe" their execution in such a way that all tasks belonging to one stripe are executed in-order.
Author: "--"
Send by mail Print  Save  Delicious 
Date: Monday, 27 Aug 2012 00:00
Rule Based Programming, a declarative programming paradigm, is based on logical patterns to select data and associate it with processing instructions. This is a more indirect method than the sequential execution steps of an imperative programming language.
Author: "--"
Send by mail Print  Save  Delicious 
Next page
» You can also retrieve older items : Read
» © All content and copyrights belong to their respective authors.«
» © FeedShow - Online RSS Feeds Reader