Java and Memory Protections
Posted Nov 22, 2006 14:49 UTC (Wed) by
NAR (subscriber, #1313)
In reply to:
Java and Memory Protections by smitty_one_each
Parent article:
Virtual Machines and Memory Protections
Isn't dynamic code generation a natural consequence of a virtual machine coupled with reflection?
I'm not sure - in my mind, reflection is about getting runtime information about the objects, it has nothing to do with creating anything. Anyway, as far as I understand, the problem with memory protection is not simply the dynamic code generation, but the compilation of the generated code to machine-level instructions. So even though one can write self-modifing code in LISP or perl, it's not a problem until the interpreter executes this code, not the CPU directly.
Bye,NAR
(
Log in to post comments)