[9] RFC: aarch32 changes for JDK-8143608: Don't 64-bit align start of InstanceKlass vtable, itable, and nonstatic_oopmap on 32-bit systems

Alex Kashchenko akashche at redhat.com
Fri Jul 22 11:44:04 UTC 2016


Hi,

This change is a part of the merge of aarch32-jdk9 with jdk-9+109 
mainline tag.

  - mainline issue: https://bugs.openjdk.java.net/browse/JDK-8143608
  - discussion thread: 
http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2015-December/017005.html
  - aarch32 patch: 
http://cr.openjdk.java.net/~akasko/aarch32/jdk9/tag_109/aarch32_8143608.patch

Without this change jdk-9+109 will fail on startup with the following error:

Error occurred during initialization of VM
java.lang.IncompatibleClassChangeError
         at java.lang.StackStreamFactory.init(StackStreamFactory.java:1066)
         at 
java.lang.StackStreamFactory.<clinit>(StackStreamFactory.java:71)
         at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
         at java.lang.Throwable.<init>(Throwable.java:251)
         at java.lang.Error.<init>(Error.java:58)
         at java.lang.LinkageError.<init>(LinkageError.java:45)
         at 
java.lang.IncompatibleClassChangeError.<init>(IncompatibleClassChangeError.java:45)
         at sun.reflect.Reflection.<clinit>(Reflection.java:48)
         at jdk.internal.misc.Unsafe.<clinit>(Unsafe.java:52)
         at jdk.internal.misc.SharedSecrets.<clinit>(SharedSecrets.java:45)
         at java.lang.ref.Reference.<clinit>(Reference.java:237)


-- 
-Alex


More information about the aarch32-port-dev mailing list