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

Andrew Haley aph at redhat.com
Thu Nov 5 14:50:03 UTC 2015


On 11/05/2015 01:25 PM, Bob Vandette wrote:
> 
>> On Nov 5, 2015, at 5:01 AM, Andrew Haley <aph at redhat.com> 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). 

Aha!  I think I knew, but had forgotten...

> 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.

OK, thanks.  It's definitely worth us having a look at that.

Andrew.


More information about the discuss mailing list