How to build java vm in mixed mode instead of interpreter mode

Andrew Dinn adinn at redhat.com
Thu Feb 16 11:20:16 UTC 2017


On 16/02/17 11:06, Srinivasa Rao Ragolu wrote:
> As I am facing sluggish behavior with zero vm interpreter mode, I would
> like to test mixed mode. In openjdk 7, mixed mode of zero vm is quite quick
> and better performance. So is there any possibility of building openjdk-8
> zero vm with mixed mode?

I am afraid that your question betrays a fundamental misunderstanding.

The zero port primarily provides a way of building OpenJDK without the
needing also to provide either a JIT compiler or generated machine code
interpreter (i.e. the template interpreter).

So, although you can build zero on a CPU which does include a JIT
implementation (such as AArch32) it makes no sense to ask to build it
/along with/ the standard client or server JITs. Enabling zero
automatically excludes building those standard JIT compilers on CPU/OS
combinations on architectures where they exist.

As such your claim that openjdk7 has a mixed mode for the zero vm is
equally misguided.

Perhaps you could explain what goal you are trying to achieve rather
than asking how to execute an impossible task. Someone might be able to
help you with the former.


regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the aarch32-port-dev mailing list