all power to openjdk: porting the jdk to powerpc and aix (steve poole and volker simonis)
DESCRIPTION
This session was a BOF and JavaOne that explores the challenges faced and eventually overcome in extending the range of platforms directly supported by OpenJDK to include AIX and Linux PowerPC. Learn how the OpenJDK community, including new members from SAP and IBM, are working together to deliver new OpenJDK platforms. Hear about the technology challenges faced when porting Oracle’s HotSpot to a new processor architecture, and see how the changes required to support the OpenJDK on AIX and Linux PPC have increased portability for follow-on porting projects. Whether you are just interested in the technical challenges faced or are thinking about porting OpenJDK to a new operating system , this BOF will educate you on what it takes to bootstrap a new platform with OpenJDK.TRANSCRIPT
© 2012 IBM Corporation
Oct 2012
BOF8034
All Power to OpenJDK: Porting the JDK to PowerPC and AIX
Wednesday, 3 October 12
2 © 2012 IBM CorporationSeptember 5, 2012
Important Disclaimers
THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY.
WHILST EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
ALL PERFORMANCE DATA INCLUDED IN THIS PRESENTATION HAVE BEEN GATHERED IN A CONTROLLED ENVIRONMENT. YOUR OWN TEST RESULTS MAY VARY BASED ON HARDWARE, SOFTWARE OR INFRASTRUCTURE DIFFERENCES.
ALL DATA INCLUDED IN THIS PRESENTATION ARE MEANT TO BE USED ONLY AS A GUIDE. IN ADDITION, THE INFORMATION CONTAINED IN THIS PRESENTATION IS BASED ON IBM’S
CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM, WITHOUT NOTICE.
IBM AND ITS AFFILIATED COMPANIES SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION.
NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, OR SHALL HAVE THE EFFECT OF:
- CREATING ANY WARRANT OR REPRESENTATION FROM IBM, ITS AFFILIATED COMPANIES OR ITS OR THEIR SUPPLIERS AND/OR LICENSORS
Wednesday, 3 October 12
3 © 2011 IBM Corporation
About us
Steve Poole - IBMNeil Richards - IBMVolker Simmonis - SAP
Wednesday, 3 October 12
4 © 2011 IBM Corporation
Introduction
• A little history • Starting an OpenJDK porting Project• Porting Hotspot to PowerPC• Current status• Next steps• How to get involved with the PowerPC/AIX project
Wednesday, 3 October 12
© 2012 IBM CorporationSeptember 5, 2012
• IBM released the first Java on AIX way back in 1995– Since then it has always been one of the fastest Java
implementations around– IBM’s version is based on the same Java SE codebase as used
by Oracle but with a different JVM : J9– The J9 JVM is also used in IBM’s Linux PowerPC offering as well
• SAP’s business requirements drove them to tackle the porting of Hotspot to multiple architectures such as Itanium, PA-RISC and PowerPC
• With the start of the OpenJDK initiative it was just a matter of time before both companies saw the benefits of a joint project to port OpenJDK to PowerPC and AIX
PowerPC/AIX Porting Project - a little history
Wednesday, 3 October 12
6 © 2012 IBM CorporationSeptember 5, 2012
Initial Goals of the Project
■ Provide an interpreter-only version of HotSpot based on the CPP interpreter on Linux/PPC64
■ Provide a full set of tools and class libraries for AIX and Linux on PPC32/64
■ Provide a complete certifiable JDK 7 on Linux/PPC64
■ Provide a complete certifiable JDK 7 on AIX/PPC64
■ Provide an implementation of the C2 server compiler on both AIX/PPC64 and Linux/PPC64
■ Integrate the new ports upstream into the main JDK8/9 branches
6
Wednesday, 3 October 12
7 © 2012 IBM CorporationSeptember 5, 2012
Starting an OpenJDK Porting Project
• 3 Simple (or not) steps
– Agreement and Project sponsorship
– Creating the “Proposal”
– The vote
7
Wednesday, 3 October 12
8 © 2012 IBM CorporationSeptember 5, 2012
Porting Hotspot to PowerPC - SAP perspective
8
Wednesday, 3 October 12
9 © 2012 IBM CorporationSeptember 5, 2012
Current Status
• July 2012 - 1st “milestone” using Java 7 codebase– Interpreter only version of Hotspot running on Linux/
PPC64• Runs JVM98 Benchmark• Able to bootstrap itself
– AIX codebase builds using IBM SDK as boot compiler
• Builds and build logs available here [1]
• [1] http://cr.openjdk.java.net/~simonis/ppc-aix-port/index.html
9
Wednesday, 3 October 12
10 © 2012 IBM CorporationSeptember 5, 2012
Next steps
– Make Hotspot Interpreter work on AIX– C2 Server JIT compiler– Work with CVMI project to clarify the JVM/Class Library
boundary – Get Java 8 version started
10
Wednesday, 3 October 12
11 © 2012 IBM CorporationSeptember 5, 2012
How to get involved in the PowerPC/AIX Porting Project
• Show up on the mailing list – [email protected]
• Help us with
– Porting
– Testing
– Building
11
Wednesday, 3 October 12
12 © 2012 IBM CorporationSeptember 5, 2012
Thank you
Wednesday, 3 October 12