Modifications aiming at making the access thread-safe. It seems that the lazy initialisation of entries causes problems when no care of concurrency is taken.
Authored by: thibautd 2012-05-16
Parent: [r19575]
Child: [r19577]