A Lock is always followed by a try/finally block, why?
ReentrantReadWriteLock readWriteLockBitmap = new ReentrantReadWriteLock(); Lock read = readWriteLockBi
To make sure that whatever happens, even if an exception is thrown, you will still unlock the locked stream before leaving the method.