Race condition in Slab.java that occurs due to spinlock unlocking early.
------------------------------------------------------------------------
Key: HBASE-4278
URL: https://issues.apache.org/jira/browse/HBASE-4278
Project: HBase
Issue Type: Sub-task
Reporter: Li Pi
Assignee: Li Pi
Just a race condition in 4027. Occurs due to a spinlock that happens if the
slab allocator is empty. When the slab allocator gets gets a slice of memory
returned, if multiple threads are locked, both can be freed at the same time,
leading one to throw an exception.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira