Re: Compiling a Java-implemented JVM with GCJ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/09/15 00:35, Marko Dimjašević wrote:

> There is a Java Virtual Machine completely implemented in Java called
> JPF [1]. In other words, when you run a Java program within this
> machine, it's a JVM-within-a-JVM execution. Obviously, this uses a lot
> of resources and I was thinking of ways how that could be reduced.
> 
> An idea I have is to compile JPF with GCJ to native code, thereby
> resulting in only one JVM that is used when running a Java program
> within JPF.
> 
> Do you see any inherent limitations to this idea, i.e. reasons why it
> wouldn't work? I'm not a JVM expert so it's hard for me to see any
> obvious obstacles.

Nothing obvious.  Be aware that GCJ supports an earlier version of
the Java libraries, so nothing is guaranteed.  Whether it's any faster
or smaller I couldn't say.

Andrew.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux