Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

OpenJDK, AArch64, and Fedora

September 19, 2013
Andrew Haley
Related topics:
Java
Related products:
Red Hat OpenShift

    For the really impatient reader: OpenJDK for AArch64 on Fedora is now available. Skip to the end of this blog for information about how you can get it.

    For everyone else:
    This is the first of my AArch64 OpenJDK blogs. I’m the project lead of the AArch64 OpenJDK port, and I’ll be blogging here from time to time. There may not be many people reading this blog who don’t know what AArch64 is, but it’s the new 64-bit version of the wildly popular ARM processor. General availability of real AArch64 hardware isn’t going to be for a while yet, but we really want OpenJDK to be ready as soon as it is.

    Oh, and OpenDK is the reference implementation - the gold standard - of the Java system and programming language.

    We’ve been porting the OpenJDK implementation of Java to the new AArch64 processor architecture for a while now, and it’s starting to come together.

    To explain where we are, I’ll first have to explain a few things about how HotSpot, the OpenJDK virtual machine, works. If you already know all this please feel free to skip.

    HotSpot has lots of everything: multiple Just-In-Time compilers, multiple garbage collectors, and so on. The parts we’re concerned about when porting HotSpot are the Template Interpreter and the JIT compilers, which are called C1 and C2. These are sometimes referred to as the client compiler and the server compiler, but internally they’re called C1 and C2, so that’s how I’ll refer to them.

    Once the Template Interpreter is done, you have a Java implementation. It’ll be slow because everything is interpreted, but it’ll work. We passed this milestone about six months ago. Since then we’ve been concentrating on the C1 and C2 JITs.

    C1 is done, modulo a few remaining bugs in corner cases. These can take a while to find, so it’ll be some while before we’re ready for prime time, but I think we’re close. If you’re feeling keen and you’d like to kick the tyres you can go to http://fedoraproject.org/wiki/Architectures/ARM/AArch64/QuickStart and install Fedora.

    This runs using an AArch64 simulator; you don’t need any special hardware.

    Then install the RPMs at http://aph.fedorapeople.org/RPMS/ and:

    $ java -version
    openjdk version “1.8.0-internal”
    OpenJDK Runtime Environment (build 1.8.0-internal-0)
    OpenJDK 64-Bit Client VM (build 25.0-b22-internal, mixed mode)
    $ java Hello
    Hello, World!

    C2 is going to take longer. We’re a fair way into the job and can compile several hundred methods], but it’s nowhere near ready. We’re pretty sure it will be ready before AArch64-compatible hardware is generally available, and that’s our goal.


    If you want to explore AArch64 a bit more deeply, it’s easy to get the source code via Mercurial: http://hg.openjdk.java.net/aarch64-port/jdk8/raw-file/e9b5be85ca1d/README.aarch64

    We’re usually on line at #openjdk on irc.oftc.net and will answer questions sent to the mailing lists at http://mail.openjdk.java.net/mailman/listinfo/aarch64-port-dev

    Comments (and help) welcome!

    Last updated: January 9, 2023

    Recent Posts

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    • Configure a split disk on OpenShift Container Platform

    • Red Hat Enterprise Linux 10.2 and 9.8: Top features for developers

    • What GPU kernels mean for your distributed inference

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.