Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6756825

java.nio EPollArray implementation assumes target os structure layout

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6u10
    • core-libs
    • None
    • arm
    • linux_2.6

      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.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: