This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

JIT interface slowness


Hi,

I've implemented[1] basic GDB JIT client for V8[2] and when people
started testing it with node.js[3] 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.

Thanks.

[1] http://codereview.chromium.org/5965011/
[2] http://v8.googlecode.com/
[3] http://nodejs.org

--
Vyacheslav Egorov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]