|
From: Nicholas N. <nj...@cs...> - 2005-10-06 19:31:42
|
On Thu, 6 Oct 2005, Nicholas Nethercote wrote: >>> + <para>Valgrind handles dynamically generated code without a problem. >> >> But only until such time as the Java implementation or whatever starts >> throwing away code it made and overwriting the area with new code. Then >> V will have stale translations of it. In general dealing with dynamically >> generated code in an uncooperative environment (x86,amd64) requires >> --smc-check=all, no? (On ppc32 V naturally observes the icbi insns >> that should be issued by the Java JIT and so it should Just Work (tm)). > > Ah crap, you're right. And I guess we need to use --smc-check=all when self-hosting unless we're confident the code cache won't get full. Nick |