RFR 8161603: [JVMCI] HotSpotVMConfig.baseVtableLength is incorrectly computed

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Jul 18 23:49:55 UTC 2016


Looks good.

thanks,
Vladimir

On 7/18/16 11:34 AM, Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/8161603/webrev
> <http://cr.openjdk.java.net/~never/8161603/webrev>
>
> baseVtableLength is computed from universeBaseVtableSize /
> vtableEntrySize but universeBaseVtableSize is in words and
> vtableEntrySize is in bytes so this returns 0 instead of the proper
> value.  I’ve added a test that would have caught this.  This has been
> broken in 9 for a long time but was only recently detected in 8 when we
> adopted most of the HotSpotVMConfig code from 9.
>
> tom


More information about the hotspot-compiler-dev mailing list