CFV: New Project: Mobile: JDK Ports to Modern Mobile Platforms

Bob Vandette bob.vandette at
Thu Nov 5 13:25:04 UTC 2015

> On Nov 5, 2015, at 5:01 AM, Andrew Haley <aph at> wrote:
> On 29/09/15 18:18, Bob Vandette wrote:
>> 3. iOS x64 and arm64 (arm64 will be provided via Zero interpreter)
> Why use Zero?

As you probably know, iOS does not allow dynamic code generation on ARM based devices (iPhone, iPad, etc).
This eliminates the possibility of using the Hotspot JIT (Just-in-time compiler) but since the Hotspot template 
interpreter is also dynamically generated, we can’t use that form of the interpreter.  We have enhanced our 
closed ARM ports to statically generate the interpreter for iOS but since these sources are not available in
the open source forest, we’ll use Zero initially to provide a working solution for the Mobile project.  I welcome the
maintainers of the open aarch64 port to enhance that port to enable static code generation of your interpreter
so that we won’t have to use Zero.  The shared code changes required for static code generation has already
been integrated into the JDK9 master sources.


> Andrew.

More information about the discuss mailing list