Displaying 3 results from an estimated 3 matches for "7ba10b6c".
2012 Mar 06
0
[LLVMdev] Performance degradation when repeatedly exchanging JITted functions
On Tue, Mar 06, 2012 at 04:09:36PM +0000, James Molloy wrote:
> Surely you need to patch *all* functions, not just the initial?
Depends on whether you always link to the original address or not.
If you use link with the latest address, you have to patch all versions
to point to the latest, otherwise you can just patch the first.
Advantage of using the latest address: one saved jmp per call.
2012 Mar 06
2
[LLVMdev] Performance degradation when repeatedly exchanging JITted functions
Surely you need to patch *all* functions, not just the initial?
The point is with the current solution no matter which version of the function another function is linked to, it will hit a sled of JMPs and eventually end up at the newest.
If you only patched the first, that sled wouldn't work. So you'd have to patch all instances. That still shouldn't be too hard.
Cheers,
James
2012 Mar 06
2
[LLVMdev] Performance degradation when repeatedly exchanging JITted functions
...ementing it outside of LLVM.
Cheers,
Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6392 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120306/7ba10b6c/attachment.bin>