[OPENDJ-7144] Fix code that has been annotated with JavaUpgrade version <= 11 Created: 22/Apr/20 Updated: 25/Jun/20 Resolved: 25/Jun/20
|Component/s:||core apis, core server, performance|
|Reporter:||Matthew Swift||Assignee:||Matthew Swift|
|Epic Link:||Miscellaneous 7.0|
Now that we are using JDK11 we can consider cleaning up existing code to use the latest API improvements. In particular, code annotated with JavaUpgrade can be migrated, especially the code in the ByteString class which could bring significant performance improvements.
This issue can be resolved once we have no more code annotated with JavaUpgrade. We can keep the annotation though, since we'll consider upgrading JDK in the future.
|Comment by Matthew Swift [ 11/May/20 ]|
Admittedly it's not super-critical for 7.0, but it certainly would be nice to resolve it given the potential performance gains (which should be evaluated).
|Comment by Matthew Swift [ 25/Jun/20 ]|
This change resulted in a 2% perf improvement on my laptop for searchrate, presumably due to the vectorized ByteString comparisons.