On Tuesday, small kitten moved in… On the first day he was rather scared, but already in the second he was starting to get used to new home. No name is yet given, but as working draft, I call him ”Tippi” until actual name is found.
Read moreFirefox 3 consumes less memory than Opera 9.50
Strange claims has been going around that new that Firefox 3 would consume less memory than Opera 9.50. From historical perspectice claim sounds interesting, since historically Opera has been much more memory efficient than Firefox. Thus lets make a simple test, with slight unfairness into direction of Opera, since it’s my main browser and has…
Read moreFixing braindead Gnome
As we all know, Gnome is braindead system, and nobody in sane state of mind touches it, except with 3 meter long hot stick to beat the beast down. Now, even if you have reached first step of sanity, which means that you haven’t installed it at all. Then still gnome system fails to honor…
Read moreAdvanced MultiThreading in Swing
Usually when multithreading in Swing is discussed, then authors are regarding trivial issue of using ”SwingWorker” and such constructs for running worker threads from EDT (Event Dispatch Thread”. However, Swing design includes one rather different multithreading thing. Namely it’s possible to start multiple AppContext instances, and execute multiple EDT threads in single JVM. So lets…
Read moreTop Ten Performance Problems and Their Solutions
Performance matters: Top Ten Performance Problems and Their Solutions | Javalobby
Read moreBut It Works On My Machine…
But It Works On My Machine… As summary: difference between ”server” and ”client” JVM *can* cause big surprises in badly coded thread stop conditions. Additionally other random synchronized blocks can cause unpredictability in behaviour. I tested sample program, and there really was this big difference between ”-client” and ”-server”. Changing ”stopRequested” to be volatile caused…
Read moreJava examples (example source code) Organized by topic
Some sample code snippets, Java examples (example source code) Organized by topic
Read moreLaughing aloud to KDE 4.0.3
It’s simply dog slow… Just moving mouse in Dolphin, consumes 100% of CPU. And when it’s idling.., then it consumes something between 5% – 30% of CPU. That can be called ridiculously non-performant. Some idiot is seemingly thinking that there isn’t ever any better user for CPU cycles than UI updating. For some strange reason…
Read moreThread-safe state handling
As already known, you must known your synchronization strategy, ”crossing fingers and wishing nothing bad happens” or ”synchronization problems with primitive fields don’t occur” are simply not correct answers for thread synchronization. Tobe expressed: Thread-safe state handling
Read moreVisual VM: opensource java profiler
In someway interesting sound project. However, not matching tools like YourKit. visualvm: Project Home Page
Read more