RFR: JDK-8199781: Don't use naked == for comparing oops

Andrew Haley aph at redhat.com
Mon Mar 26 09:38:24 UTC 2018

On 03/21/2018 04:58 PM, Roman Kennke wrote:

> I believe that inline is over-used in OpenJDK too. It might be
> better to start out with regular methods and *if* they show up in
> profiles, consider to inline them. Would that be acceptable?

I don't believe so.  Efficient systems are made from thousands of tiny
incremental improvements, each one of which is too small to be
measured on its own.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-runtime-dev mailing list