Java and Memory Protections
Posted Nov 22, 2006 18:19 UTC (Wed) by iabervon
In reply to: Java and Memory Protections
Parent article: Virtual Machines and Memory Protections
Dynamic generation of Java bytecode is actually quite common; that's how applets actually work. The plugin, running in a JVM, downloads code from the internet as a sequence of bytes, and calls the library method to read the memory as classes. Sure, it's not generation of bytecode from scratch, but it is pulled out of nowhere with respect to memory protection and certainly ahead-of-time compilation.
to post comments)