> Whilst the Java bytecode is not natively executable, a JIT JVM >needs to be able > towrite and immediately execute native code. >The OpenBSD W^X approach would > require system calls between the >compilation and execution steps. My understanding > of current JIT >is that the compilation is done is very small pieces and adding >the > overhead of a pair of system calls would basically kill it.
Even simpler to compile to a temporary file and then exit the temporary file. Woohoo, potential race condition! <br><br> ...Or you could make a nifty new system call that creates a pipe to a newly forked child process. You write the compiled executable to the fork, and the child jumps to the begining of that compiled code as soon as your parent process closes the pipe!<br><br> Gratuitous/pointless, but fun to think about. Andrew Lankford _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"