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

Issue 11265026: - Consolidate code into the old generation. (Closed)

Created:
8 years, 1 month ago by Ivan Posva
Modified:
8 years, 1 month ago
Reviewers:
cshapiro, srdjan, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, srdjan
Visibility:
Public.

Description

- Consolidate code into the old generation. - Record pointers between code objects. - Collect unreferenced code objects. Committed: https://code.google.com/p/dart/source/detail?r=14113

Patch Set 1 #

Total comments: 24

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -125 lines) Patch
M vm/code_generator.cc View 1 3 chunks +55 lines, -3 lines 0 comments Download
M vm/flow_graph_compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M vm/gc_marker.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M vm/gc_sweeper.cc View 2 chunks +4 lines, -0 lines 2 comments Download
M vm/heap.h View 1 5 chunks +6 lines, -10 lines 0 comments Download
M vm/heap.cc View 1 11 chunks +11 lines, -63 lines 0 comments Download
M vm/object.h View 1 chunk +5 lines, -0 lines 0 comments Download
M vm/object.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M vm/pages.h View 1 10 chunks +25 lines, -12 lines 0 comments Download
M vm/pages.cc View 1 12 chunks +75 lines, -32 lines 0 comments Download
M vm/raw_object.h View 1 chunk +1 line, -0 lines 0 comments Download
M vm/stack_frame.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ivan Posva
8 years, 1 month ago (2012-10-25 16:39:18 UTC) #1
Ivan Posva
8 years, 1 month ago (2012-10-25 16:39:57 UTC) #2
srdjan
DBC https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc File vm/code_generator.cc (right): https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc#newcode762 vm/code_generator.cc:762: intptr_t len = resolved_static_calls.Length(); const intptr_t len https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc#newcode764 ...
8 years, 1 month ago (2012-10-25 20:00:48 UTC) #3
siva
lgtm https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc File vm/code_generator.cc (right): https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc#newcode803 vm/code_generator.cc:803: target_code); bool found = Update....; ASSERT(!found); https://chromiumcodereview.appspot.com/11265026/diff/1/vm/heap.cc File ...
8 years, 1 month ago (2012-10-25 22:29:52 UTC) #4
Ivan Posva
https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc File vm/code_generator.cc (right): https://chromiumcodereview.appspot.com/11265026/diff/1/vm/code_generator.cc#newcode762 vm/code_generator.cc:762: intptr_t len = resolved_static_calls.Length(); On 2012/10/25 20:00:48, srdjan wrote: ...
8 years, 1 month ago (2012-10-25 23:45:41 UTC) #5
cshapiro
https://chromiumcodereview.appspot.com/11265026/diff/1014/vm/gc_sweeper.cc File vm/gc_sweeper.cc (right): https://chromiumcodereview.appspot.com/11265026/diff/1014/vm/gc_sweeper.cc#newcode56 vm/gc_sweeper.cc:56: memset(reinterpret_cast<void*>(current), 0xcc, obj_size); Can we put this behind an ...
8 years, 1 month ago (2012-10-26 04:58:07 UTC) #6
Ivan Posva
https://chromiumcodereview.appspot.com/11265026/diff/1014/vm/gc_sweeper.cc File vm/gc_sweeper.cc (right): https://chromiumcodereview.appspot.com/11265026/diff/1014/vm/gc_sweeper.cc#newcode56 vm/gc_sweeper.cc:56: memset(reinterpret_cast<void*>(current), 0xcc, obj_size); On 2012/10/26 04:58:07, cshapiro wrote: > ...
8 years, 1 month ago (2012-10-26 05:00:45 UTC) #7
cshapiro
8 years, 1 month ago (2012-10-26 05:06:55 UTC) #8
Sounds reasonable, thanks.

You might also want to add a TODO for picking a target specific constant.  0xCC
works for x86 but a different opcode is needed for ARM.

Powered by Google App Engine
This is Rietveld 408576698