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

Issue 51653006: Track live instance and allocation counts for classes (Closed)

Created:
7 years, 1 month ago by Cutch
Modified:
6 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Track live instance and allocation counts for classes. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=31978

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Total comments: 8

Patch Set 18 : #

Patch Set 19 : #

Patch Set 20 : #

Total comments: 38

Patch Set 21 : #

Total comments: 2

Patch Set 22 : #

Total comments: 4

Patch Set 23 : #

Patch Set 24 : #

Patch Set 25 : #

Patch Set 26 : #

Patch Set 27 : #

Patch Set 28 : #

Patch Set 29 : #

Total comments: 20

Patch Set 30 : #

Total comments: 4

Patch Set 31 : #

Patch Set 32 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4196 lines, -2657 lines) Patch
M runtime/bin/vmservice/client/deployed/web/index.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +54 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js View 628 chunks +2507 lines, -2515 lines 0 comments Download
M runtime/bin/vmservice/client/deployed/web/index_devtools.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +54 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory/application.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +18 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory/request_manager.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/class_ref.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/field_ref.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/function_ref.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
A runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +199 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/observatory_elements/heap_profile.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +48 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/isolate_summary.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/assembler_arm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +11 lines, -1 line 0 comments Download
M runtime/vm/assembler_arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +89 lines, -1 line 0 comments Download
M runtime/vm/assembler_ia32.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +13 lines, -3 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +74 lines, -1 line 0 comments Download
M runtime/vm/assembler_mips.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +12 lines, -1 line 0 comments Download
M runtime/vm/assembler_mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +89 lines, -2 lines 0 comments Download
M runtime/vm/assembler_x64.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +69 lines, -0 lines 0 comments Download
M runtime/vm/class_table.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +79 lines, -1 line 0 comments Download
M runtime/vm/class_table.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 5 chunks +230 lines, -1 line 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 7 chunks +48 lines, -0 lines 0 comments Download
M runtime/vm/heap_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +115 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 9 chunks +18 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +14 lines, -7 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 5 chunks +10 lines, -5 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +9 lines, -6 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +15 lines, -5 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +10 lines, -7 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 4 chunks +172 lines, -70 lines 0 comments Download
M runtime/vm/pages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +16 lines, -1 line 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5 chunks +27 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 5 chunks +23 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/service/message.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5 chunks +21 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +15 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 4 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Cutch
7 years, 1 month ago (2013-10-30 12:28:56 UTC) #1
srdjan
DBC DId you notice any performance impact? https://codereview.chromium.org/51653006/diff/30001/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/51653006/diff/30001/runtime/vm/intermediate_language_ia32.cc#newcode2786 runtime/vm/intermediate_language_ia32.cc:2786: summary->set_temp(0, Location::RequiresRegister()); ...
7 years, 1 month ago (2013-10-30 20:50:12 UTC) #2
Cutch
Some benchmarks (Against Patch Set 3): Without: NavierStokes(RunTime): 4856.796116504855 us. Splay(RunTime): 1992.0713577799802 us. Tracer(RunTime): 823.7232289950576 ...
7 years, 1 month ago (2013-10-31 03:19:46 UTC) #3
Florian Schneider
https://codereview.chromium.org/51653006/diff/80001/runtime/vm/assembler_ia32.cc File runtime/vm/assembler_ia32.cc (right): https://codereview.chromium.org/51653006/diff/80001/runtime/vm/assembler_ia32.cc#newcode2300 runtime/vm/assembler_ia32.cc:2300: pushl(instance_reg); I suspect that this will make bump allocation ...
7 years, 1 month ago (2013-10-31 09:56:00 UTC) #4
Cutch
https://codereview.chromium.org/51653006/diff/80001/runtime/vm/assembler_ia32.cc File runtime/vm/assembler_ia32.cc (right): https://codereview.chromium.org/51653006/diff/80001/runtime/vm/assembler_ia32.cc#newcode2300 runtime/vm/assembler_ia32.cc:2300: pushl(instance_reg); On 2013/10/31 09:56:01, Florian Schneider wrote: > I ...
7 years, 1 month ago (2013-10-31 11:20:02 UTC) #5
Cutch
CL extended to track (per class id): *) Allocation count and size in new space ...
7 years, 1 month ago (2013-11-12 17:19:34 UTC) #6
Cutch
Patch Set 17 is ready for review.
7 years, 1 month ago (2013-11-12 23:29:38 UTC) #7
Florian Schneider
Two questions: 1. What do you think about adding a flag to control counting? 2. ...
7 years, 1 month ago (2013-11-13 18:06:53 UTC) #8
Cutch
On 2013/11/13 18:06:53, Florian Schneider wrote: > Two questions: > > 1. What do you ...
7 years, 1 month ago (2013-11-13 19:08:17 UTC) #9
Cutch
https://codereview.chromium.org/51653006/diff/540001/runtime/vm/class_table.h File runtime/vm/class_table.h (right): https://codereview.chromium.org/51653006/diff/540001/runtime/vm/class_table.h#newcode84 runtime/vm/class_table.h:84: void AllocateClassNewSpace(intptr_t cid, intptr_t size); On 2013/11/13 18:06:53, Florian ...
7 years, 1 month ago (2013-11-13 19:09:33 UTC) #10
Ivan Posva
https://codereview.chromium.org/51653006/diff/680001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/51653006/diff/680001/runtime/vm/assembler_arm.cc#newcode2644 runtime/vm/assembler_arm.cc:2644: void Assembler::BumpAllocationCount(Heap::Space space, UpdateAllocationCount or UpdateAllocationStats. https://codereview.chromium.org/51653006/diff/680001/runtime/vm/assembler_arm.cc#newcode2659 runtime/vm/assembler_arm.cc:2659: const ...
7 years ago (2013-12-12 13:53:23 UTC) #11
srdjan
https://codereview.chromium.org/51653006/diff/680001/runtime/vm/assembler_arm.cc File runtime/vm/assembler_arm.cc (right): https://codereview.chromium.org/51653006/diff/680001/runtime/vm/assembler_arm.cc#newcode2656 runtime/vm/assembler_arm.cc:2656: const uword count_field_offset = space == Heap::kNew ? I ...
7 years ago (2013-12-12 15:52:31 UTC) #12
Cutch
Updated CL addressing all comments from Srdjan and Ivan except for one from Ivan: Why ...
7 years ago (2013-12-13 01:31:09 UTC) #13
Ivan Posva
-Ivan https://codereview.chromium.org/51653006/diff/700001/runtime/vm/class_table.h File runtime/vm/class_table.h (right): https://codereview.chromium.org/51653006/diff/700001/runtime/vm/class_table.h#newcode28 runtime/vm/class_table.h:28: intptr_t new_count_since_gc_new_space; new_count_since_gc -> allocated https://codereview.chromium.org/51653006/diff/700001/runtime/vm/class_table.h#newcode85 runtime/vm/class_table.h:85: void ...
7 years ago (2013-12-13 23:13:17 UTC) #14
Cutch
Patch Set 22: - Renamed variables and methods as requested. - Integration with scavenger promotion ...
7 years ago (2013-12-23 01:29:48 UTC) #15
Ivan Posva
https://codereview.chromium.org/51653006/diff/720001/runtime/vm/class_table.cc File runtime/vm/class_table.cc (right): https://codereview.chromium.org/51653006/diff/720001/runtime/vm/class_table.cc#newcode36 runtime/vm/class_table.cc:36: predefined_class_heap_stats_table_ = reinterpret_cast<ClassHeapStats*>( Duplicate allocation here. https://codereview.chromium.org/51653006/diff/720001/runtime/vm/stub_code_ia32.cc File runtime/vm/stub_code_ia32.cc ...
6 years, 11 months ago (2014-01-14 22:54:22 UTC) #16
Cutch
https://codereview.chromium.org/51653006/diff/720001/runtime/vm/class_table.cc File runtime/vm/class_table.cc (right): https://codereview.chromium.org/51653006/diff/720001/runtime/vm/class_table.cc#newcode36 runtime/vm/class_table.cc:36: predefined_class_heap_stats_table_ = reinterpret_cast<ClassHeapStats*>( On 2014/01/14 22:54:23, Ivan Posva wrote: ...
6 years, 11 months ago (2014-01-15 19:49:48 UTC) #17
Ivan Posva
https://codereview.chromium.org/51653006/diff/920002/runtime/vm/class_table.cc File runtime/vm/class_table.cc (right): https://codereview.chromium.org/51653006/diff/920002/runtime/vm/class_table.cc#newcode237 runtime/vm/class_table.cc:237: // #define DEBUG_PRINT Debugging code should go. https://codereview.chromium.org/51653006/diff/920002/runtime/vm/class_table.cc#newcode251 runtime/vm/class_table.cc:251: ...
6 years, 11 months ago (2014-01-17 06:53:15 UTC) #18
Cutch
https://codereview.chromium.org/51653006/diff/920002/runtime/vm/class_table.cc File runtime/vm/class_table.cc (right): https://codereview.chromium.org/51653006/diff/920002/runtime/vm/class_table.cc#newcode237 runtime/vm/class_table.cc:237: // #define DEBUG_PRINT On 2014/01/17 06:53:16, Ivan Posva wrote: ...
6 years, 11 months ago (2014-01-17 18:37:58 UTC) #19
Ivan Posva
LGTMwC -Ivan https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/heap.cc#newcode412 runtime/vm/heap.cc:412: Two lines. https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/service.cc#newcode1058 ...
6 years, 11 months ago (2014-01-21 21:39:59 UTC) #20
Cutch
https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://codereview.chromium.org/51653006/diff/1090001/runtime/vm/heap.cc#newcode412 runtime/vm/heap.cc:412: On 2014/01/21 21:40:00, Ivan Posva wrote: > Two lines. ...
6 years, 11 months ago (2014-01-21 23:44:05 UTC) #21
Cutch
6 years, 11 months ago (2014-01-22 19:21:55 UTC) #22
Message was sent while issue was closed.
Committed patchset #32 manually as r31978 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698