Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Issue 13612: Notify valgrind when we modify code on x86. (Closed)

Created:
12 years ago by Dean McNamee
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Notify valgrind when we modify code on x86. On platforms valgrind supports, some straight line assembly will be emitted in FlushICache, which valgrind will see. You can read more about the cache / api here: http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.clientreq http://valgrind.org/docs/manual/faq.html#faq.java

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : add license comment #

Patch Set 4 : Merge. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3940 lines, -0 lines) Patch
M LICENSE View 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/cpu-ia32.cc View 2 chunks +13 lines, -0 lines 1 comment Download
A src/third_party/valgrind/valgrind.h View 1 chunk +3924 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Dean McNamee
Another option would be some -DUSE_VALGRIND_BLAH, although that ends up being a pain to propagate ...
12 years ago (2008-12-07 16:53:12 UTC) #1
iposva
Dean, In general I think the ability to use tools like valgrind is essential, but ...
12 years ago (2008-12-08 04:44:21 UTC) #2
Dean McNamee
I think this code should be cheap enough to always have it run, even in ...
11 years, 9 months ago (2009-03-26 15:44:31 UTC) #3
Dean McNamee
Timur reports that this patch (and not having to specify --smc-check=all) cuts 10-15% off some ...
11 years, 5 months ago (2009-07-20 12:28:51 UTC) #4
Dean McNamee
Timur, do you have numbers from the v8 benchmark (release build, not running under valgrind) ...
11 years, 5 months ago (2009-07-22 09:36:07 UTC) #5
iposva
Please also identify what happens on other platforms when compiled with gcc. -Ivan http://codereview.chromium.org/13612/diff/4401/4403 File ...
11 years, 5 months ago (2009-07-23 18:01:57 UTC) #6
Dean McNamee
Hey Ivan, I think compiling it on Windows under GCC should be fine. The only ...
11 years, 5 months ago (2009-07-24 10:00:01 UTC) #7
Dean McNamee
Poke... On 2009/07/24 10:00:01, Dean McNamee wrote: > Hey Ivan, > > I think compiling ...
11 years, 4 months ago (2009-08-10 17:53:12 UTC) #8
Mads Ager (chromium)
I have submitted this patch as it appears to not have a negative impact on ...
11 years, 4 months ago (2009-08-11 15:24:30 UTC) #9
Timur Iskhodzhanov
Sorry, I was applying the annotations the wrong way for amd64. With properly applied annotations ...
11 years, 2 months ago (2009-10-21 10:21:40 UTC) #10
Timur Iskhodzhanov
11 years, 2 months ago (2009-10-21 10:23:01 UTC) #11
Oooops sorry, posted to the wrong issue...

Regarding this patch: we need to apply patch similar to src/ia32/cpu-ia32.cc to
src/x64/cpu-x64.cc

Powered by Google App Engine
This is Rietveld 408576698