// archives

performance

This tag is associated with 3 posts

Implementing Read-Write Locks in Java

ead-write lock allows multiple threads to acquire a read lock provided no other thread currently has a write lock on the same object. A thread can acquire a write lock if no other thread owns either a read lock or a write lock.

Fixing Performance Issue with Windows XP

A few days ago my laptop running Windows XP started to manifest unbearable performance degradation. It seemed to take forever to do even simple things. At this point it was clear that something was not right. I opened the “Task Manager” and clicked at the performance tab. CPU was 100% busy. [...]

Modifying Hardware Capability (HCAP) Bits of an Object File

Many times in order to optimize software performance programmers use specific compiler flags that generate code tuned to a given hardware architecture. In fact, at times we’d write tight loops in assembly using processor specific instructions to squeeze that extra bit of performance. The peripheral code in “C” or C++ can [...]