This is the mail archive of the
mailing list for the GDB project.
JIT interface slowness
- From: Vyacheslav Egorov <vegorov at chromium dot org>
- To: gdb at sourceware dot org
- Date: Fri, 31 Dec 2010 20:43:12 +0100
- Subject: JIT interface slowness
I've implemented basic GDB JIT client for V8 and when people
started testing it with node.js we noticed that it makes execution
under GDB slower especially if JIT generates and registers inmemory
ELF object for every single code object it emits.
Apparently GDB is just not optimized to handle tons of small ELF
objects being registered (and unregistered). When I just comment out
calls to __jit_debug_register_code (leaving ELF-generation intact)
everything becomes fast again.
Is there any known bottlenecks in JIT interface/any known workaround for them?
Any hints would be highly appreciated.