<div dir="ltr"><div>Hi Andrey,</div><div><br></div><div>The compiler side support for the necessary instrumentation went in a while back (D85948), as did the compiler-rt support (D87120 is the main one, but there were a number of preparatory and follow-on patches). Currently it dumps to a text file. We've been working on designs for the binary profile format, IR handling for the profile data, and context disambiguation support. We plan to send RFCs for some of this early this quarter.</div><br><div>We initially plan to use the profile information to provide guidance to the dynamic allocation runtime on data allocation and placement. We'll send more details on that when it is fleshed out too. </div><div><br></div><div>Teresa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 5, 2021 at 7:02 AM Andrey Bokhanko <<a href="mailto:andreybokhanko@gmail.com" target="_blank">andreybokhanko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Teresa,<br>
<br>
A year has passed since you posted this RFC; could you, please, give a<br>
quick update on the current state of heap profiler development?<br>
<br>
(Sorry if you already did so; I looked through llvm-dev mailing list<br>
to no avail -- but perhaps I missed something?)<br>
<br>
We (Huawei) are very interested in data cache optimizations; we are<br>
discussing our plans with Maxim and others on the BOLT project github<br>
(<a href="https://github.com/facebookincubator/BOLT/issues/178" rel="noreferrer" target="_blank">https://github.com/facebookincubator/BOLT/issues/178</a>); I would be<br>
really interested to hear your perspective / plans -- either on BOLT<br>
project discussion or here.<br>
<br>
One area of particular interest are specific data cache optimizations<br>
you plan (or not?) to implement either in compiler / binary optimizer<br>
/ runtime optimizer based on heap profiler data.<br>
<br>
Thank you!<br>
<br>
Yours,<br>
Andrey<br>
===<br>
Advanced Software Technology Lab<br>
Huawei<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><span style="font-family:Times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top:2px solid rgb(213,15,37)">Teresa Johnson |</td><td nowrap style="border-top:2px solid rgb(51,105,232)"> Software Engineer |</td><td nowrap style="border-top:2px solid rgb(0,153,57)"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top:2px solid rgb(238,178,17)"><br></td></tr></tbody></table></span></div></div></div>