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

Tom Rodriguez tom.rodriguez at oracle.com
Mon Jul 18 18:34:12 UTC 2016

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160718/6cd8c0df/attachment.html>

More information about the hotspot-compiler-dev mailing list