Archive for October, 2008

What do we really know about non-blocking concurrency in Java?

Tuesday, October 28th, 2008

If my yesterday’s post taught me anything it’s this: not that much. This post is a result of a lengthy chat with Heinz Kabutz and Kirk Pepperdine (who really do know something about non-blocking concurrency) as well as comments on the post and the Reddit entry.
When I put together the yesterday’s post (When System.currentTimeMillis() [...]



When System.currentTimeMillis() is too slow…

Monday, October 27th, 2008

At the moment I am working on reducing the performance overhead of JavaRebel. Once I got rid of all the obvious bottlenecks and optimizations I fired up the profiler and started searching and destroying ad-hoc hotspots. After some time I got to the point, when the bottleneck was in System.currentTimeMillis().
This deserves some explanation. Since JavaRebel [...]



Linux, Windows and exit codes – the debug story

Wednesday, October 22nd, 2008

While running a test framework I was very pleased to see all the tests pass. The problem was that I was the only one that lucky.
The logic of the framework is quite simple, ANT build.xml starts up, runs a test as a separate java task, gathers the result code and tests for equality of -1. [...]



Twitter and Plus Addressing

Thursday, October 16th, 2008

If you’re like me you might have a few Twitter accounts registered by now. They require a unique e-mail address for each account, but apparently plus addressing is completely legit. With services like GMail supporting them, I’m now free to register as many accounts as I want!



A build.xml changed my ANT installation

Friday, October 10th, 2008

I was installing some piece of software. As I ran ant build it asked if it was okay to download some libraries from the web. Sure! Couple of minutes later I see this on my screen:

-install-junit:
[copy] Copying 1 file to /opt/ant/lib
[echo] *** junit-3.8.1.jar has been [...]