Totally Nerdy Information

Mike Heath's Blog

Java Threading and Signal Handling

While working on AIOJ, I came across an issue with java.lang.Object.wait() and and calling java.lang.Object.notify() from a signal handler. With POSIX AIO, there are two ways to receive notification that an I/O operation has completed. One is through a signal and the other is by calling a specified method in a temporary thread. When using [...]

Seam 1.2

I haven’t had much of a chance to use Seam yet. I’m looking forward to it though. If for no other reason than a good friend of mine, Mike Youngstrom, wrote the Spring integration. He’s mentioned in The Server Side Seam 1.2GA announcement as well as in Gavin King’s blog. Way to go youngm!

Java JIT vs Native Code Performance Matrix

I published the performance matrix from our programming contest at work. The matrix isn’t complete at this time. I’ll be adding more results over time.

JIT Happens

I’ve known for a long time that the Java Just-In-Time compiler produces some very fast code but I didn’t realize how fast until I went one-on-one with it and lost. At work, my manager sponsored a little programming contest. It’s the first of its kind in our department and the goal is to foster creativity [...]

Calling Java Methods From a Signal Handler

As part of AIOJ, I need a way to invoke Java methods from inside of a signal handler. When I issue a POSIX AIO function from a native method, I tell it to raise a particular signal when the operation completes. The signal I am using is SIGRTMIN + 5. This signal works and at [...]

Asynchronous File I/O in Java 0.1 release

I made the first release of my Asynchronous File I/O in Java library. The .jar file can be downloaded here. This release uses a java.util.concurrent.Executor to call java.nio.channels.FileChannel methods in a separate thread than the caller. This is certainly not the most ideal way of doing AIO but it’s a start and provides a good [...]

« Previous Page« Previous Entries  Next Entries »Next Page »

Calendar

February 2012
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
272829