Bug 7419 : Ids from id pool exhausted
Observed that there were many threads waiting to allocate block of ids
from parent pool. Once a thread acquired lock it just used to update its
availableIdHolder with that block without checking if some other thread
has already updated the localPoolCache.
After acquiring lock, a check has been added to know if some other thread
has already updated the availableIdHolder/releaseIdHolder.
Change-Id: Id5550bb2a483d14572803f0e346f2209b9cb9bcc
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>