Duo Zhang commented on HBASE-16648:

Maybe I should use a new CHM instance for each iteration? Otherwise we will 
have all the keys in the map already after warm up. Let me see how to implement 
this logic with JMH.

And yes the class will not be re-loaded and the static variable will not be 
initialized for each iteration.


> [JDK8] Use computeIfAbsent instead of get and putIfAbsent
> ---------------------------------------------------------
>                 Key: HBASE-16648
>                 URL: https://issues.apache.org/jira/browse/HBASE-16648
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Performance
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>         Attachments: HBASE-16648-v1.patch, HBASE-16648-v2.patch, 
> HBASE-16648.patch

This message was sent by Atlassian JIRA

Reply via email to