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

Issue 9290013: When preparing heap for breakpoints make sure not to recompile inlined functions. (Closed)

Created:
8 years, 11 months ago by Vyacheslav Egorov (Chromium)
Modified:
8 years, 11 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

When preparing heap for breakpoints make sure not to flush away non-optimized code for inlined functions. Debug::PrepareForBreakPoints was not fully populating active_functions list. R=erik.corry@gmail.com TEST=test/mjsunit/regress/regress-debug-code-recompilation.js Committed: https://code.google.com/p/v8/source/detail?r=10503

Patch Set 1 #

Total comments: 3

Patch Set 2 : collect active functions from archived threads #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -124 lines) Patch
M src/debug.cc View 1 4 chunks +173 lines, -111 lines 2 comments Download
M src/heap.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/mark-compact.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/objects.h View 2 chunks +4 lines, -7 lines 0 comments Download
M src/objects-inl.h View 1 chunk +1 line, -2 lines 0 comments Download
A test/mjsunit/regress/regress-debug-code-recompilation.js View 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Chromium)
8 years, 11 months ago (2012-01-25 12:57:24 UTC) #1
Erik Corry
LGTM https://chromiumcodereview.appspot.com/9290013/diff/1/src/debug.cc File src/debug.cc (right): https://chromiumcodereview.appspot.com/9290013/diff/1/src/debug.cc#newcode1783 src/debug.cc:1783: Object* active_code_marker = isolate_->heap()->the_hole_value(); It seems we only ...
8 years, 11 months ago (2012-01-25 14:05:28 UTC) #2
Erik Corry
8 years, 11 months ago (2012-01-25 15:00:56 UTC) #3
LGTM

https://chromiumcodereview.appspot.com/9290013/diff/1007/src/debug.cc
File src/debug.cc (right):

https://chromiumcodereview.appspot.com/9290013/diff/1007/src/debug.cc#newcode...
src/debug.cc:1843: frame_code->instruction_size(),
Can we indent lines like this so that we have only the start of a new argument
to PrintF at this indentation level?

https://chromiumcodereview.appspot.com/9290013/diff/1007/src/debug.cc#newcode...
src/debug.cc:1904: Object* active_code_marker =
isolate_->heap()->the_hole_value();
I know the hole never moves or dies, but it seems a bit gratuitous to do this
before the call the CollectAllGarbage.

Powered by Google App Engine
This is Rietveld 408576698