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

aarch32: add support for ARM aarch32

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: port-stage-aarch32-9
    • Fix Version/s: port-stage-aarch32-9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      aarch32
    • OS:
      linux

      Description

      This issue proposes the addition of support for the ARM aarch32 architecture.

      Support for the ARM aarch64 architecture has recently been added to JDK 9 but support for 32 bit is still missing from OpenJDK.

      It is proposed that ARM v8/aarch32 and ARM v7 will be supported. ARM v6 support may be added if there is sufficient interest.

      We have an initial port of the template interpreter for JDK 9. It is proposed to extend this to add C1 and C2 support as was done for aarch64.

        Activity

        Hide
        enevill Ed Nevill added a comment -
        I have merged it up to the latest jdk9 hs-comp tree and uploaded the
        following webrevs

        http://cr.openjdk.java.net/~enevill/8139303/webrev.hotspot/
        http://cr.openjdk.java.net/~enevill/8139303/webrev.hs-comp/
        http://cr.openjdk.java.net/~enevill/8139303/webrev.jdk/

        To build do

        ./configure --with-jvm-variants=core

        If you are building within a chroot you will also need to specify

        --openjdk-target=aarch32-linux-gnueabihf

        This is because 'uname -a' reports aarch64, even within a 32 bit chroot.

        If you are looking for a boot jdk I have uploaded one at

        http://people.linaro.org/~edward.nevill/images/jdk8-zero.tgz
        (you must use jdk8 as the bootstrap at the moment, it doesn't seem to
        work with jdk9)

        I have also uploaded the resultant prebuilt binary at

        http://people.linaro.org/~edward.nevill/images/jdk9-template.tgz
        Show
        enevill Ed Nevill added a comment - I have merged it up to the latest jdk9 hs-comp tree and uploaded the following webrevs http://cr.openjdk.java.net/~enevill/8139303/webrev.hotspot/ http://cr.openjdk.java.net/~enevill/8139303/webrev.hs-comp/ http://cr.openjdk.java.net/~enevill/8139303/webrev.jdk/ To build do ./configure --with-jvm-variants=core If you are building within a chroot you will also need to specify --openjdk-target=aarch32-linux-gnueabihf This is because 'uname -a' reports aarch64, even within a 32 bit chroot. If you are looking for a boot jdk I have uploaded one at http://people.linaro.org/~edward.nevill/images/jdk8-zero.tgz (you must use jdk8 as the bootstrap at the moment, it doesn't seem to work with jdk9) I have also uploaded the resultant prebuilt binary at http://people.linaro.org/~edward.nevill/images/jdk9-template.tgz
        Hide
        dholmes David Holmes added a comment -
        Has this project been formally proposed/discussed? Is there as JEP? Thanks.
        Show
        dholmes David Holmes added a comment - Has this project been formally proposed/discussed? Is there as JEP? Thanks.
        Hide
        enevill Ed Nevill added a comment -
        Hi David,

        I have proposed it as a project on porters-dev

        http://mail.openjdk.java.net/pipermail/porters-dev/2015-October/000499.html

        I am seeking their sponsorship of the project before I propose it on announce@openjdk.java.net

        I have created the JIRA issues so I have somewhere to hang the webrevs for the aarch32 template interpreter as I cannot create the webrevs without a JIRA issue.

        All the best,
        Ed.
        Show
        enevill Ed Nevill added a comment - Hi David, I have proposed it as a project on porters-dev http://mail.openjdk.java.net/pipermail/porters-dev/2015-October/000499.html I am seeking their sponsorship of the project before I propose it on announce@openjdk.java.net I have created the JIRA issues so I have somewhere to hang the webrevs for the aarch32 template interpreter as I cannot create the webrevs without a JIRA issue. All the best, Ed.
        Hide
        dholmes David Holmes added a comment -
        Thanks for the links Ed!

        BTW you don't need a JIRA issue to create webrevs.
        Show
        dholmes David Holmes added a comment - Thanks for the links Ed! BTW you don't need a JIRA issue to create webrevs.
        Show
        enevill Ed Nevill added a comment - Resolved in aarch32 jdk9 and jdk8u http://hg.openjdk.java.net/aarch32-port/jdk8u/hotspot/rev/0d63f295c3c2 http://hg.openjdk.java.net/aarch32-port/jdk9/hotspot/rev/0e020032c581

          People

          • Assignee:
            enevill Ed Nevill
            Reporter:
            enevill Ed Nevill
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 year, 20 weeks, 4 days
              72w 4d
              Remaining:
              Remaining Estimate - 1 year, 20 weeks, 4 days
              72w 4d
              Logged:
              Time Spent - Not Specified
              Not Specified