[Ikvm-developers] netty error
Brought to you by:
jfrijters
|
From: Martin G. <M.G...@bi...> - 2016-11-29 12:59:38
|
Hi, I've found an issue with running Netty. It's about this location in the code: https://github.com/JCTools/JCTools/blob/master/jctools-core/src/main/java/org/jctools/util/UnsafeRefArrayAccess.java#L38 at <Module>.main(<Module>.java) Caused by: java.lang.IllegalStateException: Unknown pointer size at io.netty.util.internal.shaded.org.jctools.util.UnsafeRefArrayAccess.<clinit>(UnsafeRefArrayAccess.java:44) at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:451) ... 15 more I've tracked it down to some missing intrinsics of the Unsafe class. In this particular case * arrayIndexScale and * arrayOffsetScale in Java_sun_misc_UnsafeI would send a patch but atm I'm lost with runtime/intrinsics.cs. I have no idea yet how to implement the stack stuff. If someone could point me to some more details about this, I would with pleasiure submit a patch on my own. Is it correct to add them to intrinsics.cs and in Java_sun_misc_Unsafe or is only one location needed? Help would be much appreciated. Regards Martin |