Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
0.94.1
-
None
-
None
Description
I ran oprofile on a YCSB client and found that a large percentage of the CPU time was going to this function:
51991 0.4913 25361.jo java java.lang.reflect.Method[] java.lang.Class.copyMethods(java.lang.reflect.Method[])
51384 0.4856 25361.jo java int org.apache.hadoop.hbase.ipc.ProtocolSignature.getFingerprint(java.lang.reflect.Method)
50428 0.4766 25361.jo java void java.util.Arrays.sort1(int[], int, int)
We should introduce a simple cache to avoid this overhead.