OpenJDK7 port to the little endian PowerPC64

Alexander Smundak asmundak at google.com
Thu Mar 6 19:24:24 PST 2014


On Thu, Mar 6, 2014 at 5:20 AM, Lindenmaier, Goetz
<goetz.lindenmaier at sap.com> wrote:
> +#ifndef OS_CPU_LINUX_PPC_VM_BYTES_LINUX_PPC_INLINE_HPP
> +#define OS_CPU_LINUX_PPCLE_VM_BYTES_LINUX_PPC_INLINE_HPP
> defines the wrong macro.
Done.
> Also you need to add a copyright header.
Done.
> You need to protect #include "bytes_linux_ppc.inline.hpp"
> in bytes_ppc.hpp by #ifdef TARGET_OS_ARCH_linux_ppc, else it breaks the
> aix build.
Done
> The comment above  get_Java_u2 is misleading, I guess ;)
Done.
> os_linux.cpp does not build on non-ppc platforms because PPC64_ELFDATA2XSB
> is not defined.
Done.

I have discovered that a one-line change to the libproc.h is needed,
and the compiler settings for the little-endian PPC64 in ppc64le.make
can be adjusted:
it can be tuned for Power7, and there is no need for -mminimal-toc.

> Can you please send a RFR to the hotspot-dev list as you did for the other
> change?
Will send it the moment my colleague with account at cr.openjdk posts
the webrev.
Thank you for the comments.

I have two additional patches ready for review, one for the jdk/ subrepo
and another for the top-level. What's the procedure there? Can I
reuse the same bug 8036767 for this? Where should I post RFRs?

Sasha


More information about the ppc-aix-port-dev mailing list