How to build java vm in mixed mode instead of interpreter mode
Edward Nevill
edward.nevill at gmail.com
Mon Feb 20 19:43:21 UTC 2017
On Mon, 2017-02-20 at 12:50 +0000, Andrew Dinn wrote:
> Hi Srinivas,
Thank you for that synopsis Andrew.
> On 20/02/17 07:14, Srinivasa Rao Ragolu wrote:
> >
> > repo. The C2 port is still a work in progress. Oracle recently
> donated
> their proprietary 32-bit ARM OpenJDK code to the AArch32 project and
> this newly open-sourced code is still being integrated in order to
> provide both C1 and C2.
Slight correction/update: C1/C2 is now fully integrated into JDK 9. So the default build on Aarch32 is now to build a full template interpreter/C1/C2 VM with tiered compilation.
Srinivasa: maybe this is something you could try - the JDK 9 sources are available at http://hg.openjdk.java.net/jdk9/dev
>
> So, if you want to be able to use JDK8 with both an interpreter and JIT
> compiler on 32-bit ARM then your best bet is to try to build the AArch32
> code using the C1 JIT compiler. You can configure that by passing flag
>
> --with-jvm-variants=client
>
> configure run in the top-level of a check-out.
>
I have previously put a pre-built JDK 8 image at http://camswl.com/images/jdk8-arm32-release.tgz
Srinivasa: Have you at least tried this pre-built image as a starting point?
Regards,
Ed.
More information about the aarch32-port-dev
mailing list