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

Issue 9860028: Valgrind cleanliness, part 2: Delete lithium operand caches on exit. (Closed)

Created:
8 years, 9 months ago by Sven Panne
Modified:
8 years, 9 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Valgrind cleanliness, part 2: Delete lithium operand caches on exit. This fixes 5 leaks, returning 1.6kB of lost memory. Shocking news: I've actually introduced a 2nd-order macro for myself. I guess I've been assimilated... ;-) Committed: https://code.google.com/p/v8/source/detail?r=11179

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -24 lines) Patch
M src/lithium.h View 1 8 chunks +22 lines, -10 lines 0 comments Download
M src/lithium.cc View 1 1 chunk +20 lines, -14 lines 0 comments Download
M src/v8.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Sven Panne
8 years, 9 months ago (2012-03-27 07:29:07 UTC) #1
Erik Corry
LGTM https://chromiumcodereview.appspot.com/9860028/diff/1/src/lithium.h File src/lithium.h (right): https://chromiumcodereview.appspot.com/9860028/diff/1/src/lithium.h#newcode64 src/lithium.h:64: bool IsStackSlot() const { return kind() == STACK_SLOT; ...
8 years, 9 months ago (2012-03-28 12:24:15 UTC) #2
Sven Panne
8 years, 9 months ago (2012-03-28 13:11:10 UTC) #3
Landing with the suggested additional change...

https://chromiumcodereview.appspot.com/9860028/diff/1/src/lithium.h
File src/lithium.h (right):

https://chromiumcodereview.appspot.com/9860028/diff/1/src/lithium.h#newcode64
src/lithium.h:64: bool IsStackSlot() const { return kind() == STACK_SLOT; }
On 2012/03/28 12:24:16, Erik Corry wrote:
> You could use your shiny new 2nd order macro here too!

Done.

Powered by Google App Engine
This is Rietveld 408576698