Add code to release all memory used by the jit state. - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_sparc-cpu.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2013年02月11日 15:51:55 -0200
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2013年02月11日 15:51:55 -0200
commit8f020fe0442a92a92119fdce6b15f7ba20008434 (patch)
treeaab99409bce7cff0e1c1d64d1fa0a61fd64a36e7 /lib/jit_sparc-cpu.c
parent6039794ec310e1072d57c6651083bd0972931228 (diff)
downloadlightning-8f020fe0442a92a92119fdce6b15f7ba20008434.tar.gz
Add code to release all memory used by the jit state.
* include/lightning.h, lib/lightning.c: Implement the new jit_clear_state and jit_destroy_state calls. jit_clear_state releases all memory not required during jit_execution; that is, leaves only the mmap'ed data and code buffers allocated. jit_destroy_state releases the mmap'ed buffers as well as the jit_state_t object itself, that holds pointers to the code and data buffers, as well as annotation pointers (for disassembly or backtrace) in the data buffer. * lib/jit_note.c: Correct invalid vector offset access. * check/ccall.c, check/lightning.c, doc/ifib.c, doc/incr.c, doc/printf.c, doc/rfib.c, doc/rpn.c: Use the new jit_clear_state and jit_destroy_state calls, to demonstrate the new code to release all jit memory. * doc/body.texi: Add basic documentation and usage description of jit_clear_state and jit_destroy_state.
Diffstat (limited to 'lib/jit_sparc-cpu.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年10月01日 22:19:38 +0000

AltStyle によって変換されたページ (->オリジナル) /