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

Issue 247793004: RingBuffer<T, N> utility with unit test; use for GC history. (Closed)

Created:
6 years, 8 months ago by koda
Modified:
6 years, 8 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

RingBuffer<T, N> utility with unit test; use for GC history. Prompted by index-out-of-bounds error in old code (bug 18375). BUG=dart:18375 R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=35384

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -28 lines) Patch
M runtime/vm/pages.h View 3 chunks +7 lines, -4 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +9 lines, -24 lines 0 comments Download
A runtime/vm/ring_buffer.h View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A runtime/vm/ring_buffer_test.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
koda
6 years, 8 months ago (2014-04-22 20:08:36 UTC) #1
Ivan Posva
LGTMwC -ip https://codereview.chromium.org/247793004/diff/20001/runtime/vm/ring_buffer.h File runtime/vm/ring_buffer.h (right): https://codereview.chromium.org/247793004/diff/20001/runtime/vm/ring_buffer.h#newcode18 runtime/vm/ring_buffer.h:18: COMPILE_ASSERT((N & (N - 1)) == 0, ...
6 years, 8 months ago (2014-04-24 16:45:21 UTC) #2
koda
https://codereview.chromium.org/247793004/diff/20001/runtime/vm/ring_buffer.h File runtime/vm/ring_buffer.h (right): https://codereview.chromium.org/247793004/diff/20001/runtime/vm/ring_buffer.h#newcode18 runtime/vm/ring_buffer.h:18: COMPILE_ASSERT((N & (N - 1)) == 0, N_must_be_power_of_two); On ...
6 years, 8 months ago (2014-04-24 17:07:40 UTC) #3
koda
6 years, 8 months ago (2014-04-24 17:07:55 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r35384 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698