java.nio EPollArray implementation assumes target os structure layout

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 6u10
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: