摘要 |
Code implants for compilers are disclosed. In one embodiment of the invention, a computerized system includes a virtual machine, a module within the virtual machine and providing a predetermined functionality, and a compiler. The compiler is desirably a just-in-time compiler, and compiles a first code (such as byte code in the case of the Java programming language) into a second code, which is desirably machine code. The compiler calls the module during compilation to receive a code implant associated with the module for inclusion into the second code.
|