|
|
Log in / Subscribe / Register

Tratt: Fast Enough VMs in Fast Enough Time

Tratt: Fast Enough VMs in Fast Enough Time

Posted Feb 9, 2012 10:59 UTC (Thu) by mjthayer (guest, #39183)
Parent article: Tratt: Fast Enough VMs in Fast Enough Time

From the article:
> Tracing JITs are relatively new and have some limitations, at least based on what we currently know. Mozilla, for example, removed their tracing JIT a few months back, because while it's sometimes blazingly fast, it's sometimes rather slow. This is due to a tracing JIT optimising a single code-path at a time [...] Code which tends to take the same path time after time benefits hugely from tracing; code which tends to branch unpredictably can take considerable time to derive noticeable benefits from the JIT.

Surely it wouldn't be a huge leap from what they have already achieved to keep a trace around for generated code and to produce a merged trace (and regenerate the code) if a second path becomes hot enough. I am assuming of course that this has been shown by measurement and not just guesswork (the author does seem to be serious about what he is doing) to be a problem.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds