Synchronization and Serialization

One thing to be noted from RMI serialization, like any serialization in java is that serialization of the object doesn’t automagically ensure transactional consistency. In other words, if there is some object, which is modified by the background worker thread, and this same object instance is passed via RMI call to client, then it’s possible…

Read more

Java Strangeness

Interesting knowledge about JIT: Is Your JIT Telling You Lies? Especially interesting is how micro benchmarks lie, which means that trying to trick JIT compiler to do compilation in such small benchmark, can actually give rather misleading results.

Read more