RFR (M): 8143925: Enhancing CounterMode.crypt() for AES
john.r.rose at oracle.com
Wed Jan 6 17:42:44 UTC 2016
On Jan 6, 2016, at 4:20 AM, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> I realize that there may always be a user-specified shape that the JIT doesn't understand, but straightforward cases should hopefully Just Work(tm) as those patterns can be picked up elsewhere in code and performance improves without changing a line of code.
Where we differ is this: I am skeptical that there is a well-defined set of "straightforward cases", which all reasonable coders, who expect optimization, will use.
It is better to point out one case for favorable treatment, and say "if you really expect best optimization, use this name". Followed by, "if you don't choose to use that name, we'll still try to optimize all the straightforward cases, but don't expect us to prioritize them as highly as the best practice we suggested".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev