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

Issue 2995063002: [VM-GC] Add a flag to abort on allocation failure (Closed)

Created:
3 years, 4 months ago by erikcorry
Modified:
3 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[VM-GC] Add a flag to abort on allocation failure This is added to help investigate memory usage. By setting an old-space limit with --old-gen-heap-size and setting the new --abort-on-oom it is possible to test whether a program can run in a certain size. Using binary search one can determine what the minimum size is. Without this flag the VM will slow down to a crawl when it tries to exceed its heap limit. R=vegorov@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/aa1a9ef6866e55919d9aab8c2a71f1bbe79a5e6e

Patch Set 1 #

Patch Set 2 : Explain flag use better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M runtime/vm/flag_list.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
erikcorry
3 years, 4 months ago (2017-08-15 17:51:25 UTC) #1
Vyacheslav Egorov (Google)
LGTM Please provide rationale for this flag in the commit message, e.g. "This flag is ...
3 years, 4 months ago (2017-08-16 05:22:36 UTC) #2
davidmorgan
On 2017/08/16 05:22:36, Vyacheslav Egorov (Google) wrote: > LGTM > > Please provide rationale for ...
3 years, 4 months ago (2017-08-16 11:42:54 UTC) #3
erikcorry
I think this is a useful option to have to measure heap usage independent of ...
3 years, 3 months ago (2017-09-04 10:32:15 UTC) #5
erikcorry
3 years, 3 months ago (2017-09-04 10:32:37 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
aa1a9ef6866e55919d9aab8c2a71f1bbe79a5e6e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698