Compiling a Java-implemented JVM with GCJ
Marko Dimjašević
marko@dimjasevic.net
Fri Sep 18 23:35:00 GMT 2015
Hi all,
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.
[1] Java PathFinder: http://babelfish.arc.nasa.gov/trac/jpf
--
Cheers,
Marko Dimjašević
http://dimjasevic.net/marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20150918/9d0239ce/attachment.sig>
More information about the Gcc-help
mailing list