<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ping :)</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Alex White <alex.white@oarcorp.com><br>
<b>Sent:</b> Friday, April 30, 2021 3:01 PM<br>
<b>To:</b> devel@rtems.org <devel@rtems.org><br>
<b>Cc:</b> Alex White <alex.white@oarcorp.com><br>
<b>Subject:</b> [PATCH 0/2] covoar: Dispose of file info in ExecutableInfo</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">This patch set includes two patches that significantly lower the memory<br>
usage of covoar. For a full coverage run of the leon3 BSP on my<br>
machine, the peak memory usage falls from 9.6 GB down to 1.4 GB.<br>
<br>
The cleanup of the ELF and DWARF info had previously been moved from<br>
the ExecutableInfo class's constructor to its destructor. This was done<br>
to ensure that ExecutableInfo::getSourceAndLine() could utilize the<br>
DWARF info. A side effect of that change was increased memory usage.<br>
<br>
These patches ensure that no ELF or DWARF objects are held by the<br>
ExecutableInfo class after construction.<br>
<br>
Alex White (2):<br>
covoar: Store only the file name in ExecutableInfo<br>
covoar: Store address-to-line info outside of DWARF<br>
<br>
rtemstoolkit/rld-dwarf.cpp | 5 +<br>
rtemstoolkit/rld-dwarf.h | 5 +<br>
tester/covoar/AddressToLineMapper.cc | 105 +++++++++++++++<br>
tester/covoar/AddressToLineMapper.h | 193 +++++++++++++++++++++++++++<br>
tester/covoar/ExecutableInfo.cc | 85 ++++++------<br>
tester/covoar/ExecutableInfo.h | 15 ++-<br>
tester/covoar/wscript | 1 +<br>
7 files changed, 358 insertions(+), 51 deletions(-)<br>
create mode 100644 tester/covoar/AddressToLineMapper.cc<br>
create mode 100644 tester/covoar/AddressToLineMapper.h<br>
<br>
-- <br>
2.27.0<br>
<br>
</div>
</span></font></div>
</body>
</html>