[
https://issues.apache.org/jira/browse/HBASE-12090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Rodionov updated HBASE-12090:
--------------------------------------
Attachment: HBASE-12090.2.patch
1. I fixed compilation errors by changing import orders
2. The previous version introduced huge performance degradation. 45 sec vs 39
original patch. There is something wrong with HotSpot compiler when it has to
optimize static-class->static-class->static-method invocation (I bet it does
not do inlining properly)
This patch has original performance and no compilation errors.
> Bytes: more Unsafe, more Faster
> --------------------------------
>
> Key: HBASE-12090
> URL: https://issues.apache.org/jira/browse/HBASE-12090
> Project: HBase
> Issue Type: Improvement
> Components: Performance
> Affects Versions: 0.94.23, 0.98.6
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Fix For: 2.0.0, 0.98.7, 0.94.24, 0.99.1
>
> Attachments: 12090-v1.1.txt, HBASE-12090.2.patch, HBASE-12090.patch
>
>
> Additional optimizations to *org.apache.hadoop.hbase.util.Bytes*:
> * New version of compareTo method.
> * New versions for primitive converters : putXXX/toXXX.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)