[
https://issues.apache.org/jira/browse/HBASE-18778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158368#comment-16158368
]
Chia-Ping Tsai commented on HBASE-18778:
----------------------------------------
How about using the largeThreads and smallThreads as the initial capacity for
the stealJobQueue?
{code}
- StealJobQueue<Runnable> stealJobQueue = new StealJobQueue<>();
+ StealJobQueue<Runnable> stealJobQueue = new
StealJobQueue<Runnable>(COMPARATOR);
{code}
> Use Comparator for StealJobQueue
> --------------------------------
>
> Key: HBASE-18778
> URL: https://issues.apache.org/jira/browse/HBASE-18778
> Project: HBase
> Issue Type: Improvement
> Components: Compaction
> Affects Versions: 3.0.0, 2.0.0-alpha-2
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 3.0.0, 2.0.0-alpha-3
>
> Attachments: HBASE-18778.patch
>
>
> To eliminate the confusing compareTo and equals implementation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)