summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2019-04-01 19:36:33 +0100
committer David Srbecky <dsrbecky@google.com> 2019-04-07 21:27:36 +0000
commit76b9c695a7cee0772cb9ee7e472bbf8ce3030a73 (patch)
treecfc3d1642688a93b2ef1b7d0660bfb2a333d8be9 /compiler/optimizing/builder.h
parente18588381b34a5ed24417c826dc389a91f8d2b7f (diff)
Split JIT mini-debug-info packing and compression to two phases.
Every JIT compilation creates a mini-debug-info entry (~800 bytes). After every 64 compilations, pack the data so that we have multiple methods per mini-debug-info entry (amortized ~200 bytes per method). Compress the entries after code GC (amortized ~60 bytes per method). Splitting packing and compression means we can cheaply claim most of the memory savings by packing recent methods and older methods still benefit from the compression. Test: test.py -b --host -r -t 137-cfi Change-Id: Ic2c677ada09983e49d96623a48f4d4ad1fa5bfbc
Diffstat (limited to 'compiler/optimizing/builder.h')
0 files changed, 0 insertions, 0 deletions