[
https://issues.apache.org/jira/browse/HBASE-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092935#comment-13092935
]
Ted Yu commented on HBASE-4278:
-------------------------------
Integrated to TRUNK.
Thanks for the patch Li.
> 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
> Fix For: 0.92.0
>
> Attachments: 4278.diff, 4278.diff
>
>
> 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