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

Tom Rodriguez tom.rodriguez at oracle.com
Wed Jul 20 01:18:29 UTC 2016


Thanks!

tom


> On Jul 18, 2016, at 4:49 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> 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