The J2SE solaris/sun/nio/ch/EPollArrayWrapper implementation hardcodes the structure offsets for the system epoll_event structure. This doesn't work on ARM EABI systems where the int64 item in the structure must be naturally aligned (which is different from the x86/Solaris packing.
The Hotspot Embedded team has developed a fix for this that involes having the native code compute the structure offsets. See the 'suggested fix' for patches that the embedded hotspot team developed for the ARM port.
The Hotspot Embedded team has developed a fix for this that involes having the native code compute the structure offsets. See the 'suggested fix' for patches that the embedded hotspot team developed for the ARM port.
- duplicates
-
JDK-6728542 (se) epoll based SelectorProvider should be portable to platforms other than x86 and x64
-
- Closed
-