Patent ID: 8281291

Claim:
A computer implemented method of performing just-in-time (JIT) compilations, said method comprising initializing a JIT compiler, the initializing including: initializing a mapping table, wherein the mapping table is used to track JIT compilations performed by the JIT compiler; initializing a special filesystem that is used for memory mapping JIT compiled code, wherein the special filesystem responds to requests received from an operating system by: responding to a load request to load a page by writing one or more invalid opcodes to the page and by returning a first successful completion code to the operating system; and responding to a write request to write one or more pages from memory to a nonvolatile storage device by returning a second successful return completion code to the operating system without writing the one or more pages to the nonvolatile storage device; registering an error handler with the operating system, wherein the error handler is called by the operating system when the invalid opcode is encountered; and creating a special file using the special filesystem, wherein the special file is memory mapped to an address space, and wherein the address space is used to store JIT compiled code resulting from the JIT compiler compiling a plurality of methods.