How does JIT replace optimized machine code during runtime?

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-05-14T21:06:28Z Indexed on 2010/05/14 22:04 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

I'm browsing through OpenJDK sources and cannot find the place where optimized code is replaced.

I wonder how this can be done in protected mode, isn't it some kind of selfmodifing code which should be prevented by the OS?

© Stack Overflow or respective owner

Related posts about java

Related posts about jit