RFR: 8253525: Implement getInstanceSize/sizeOf intrinsics [v6]

Aleksey Shipilev shade at openjdk.java.net
Wed Nov 11 20:04:00 UTC 2020


On Tue, 10 Nov 2020 20:13:41 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> One more nit, I forgot to list in my previous comment, is uneeded '()' around comparisons:
> `+ static final int REF_SIZE = ((compressedOops == null) || (compressedOops == true)) ? 4 : 8;`

Right. Fixed that. Thanks!

-------------

PR: https://git.openjdk.java.net/jdk/pull/650


More information about the hotspot-dev mailing list