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

Issue 1677043003: 1. Fix memory leaks reported by running a simple test using ASAN (Closed)

Created:
4 years, 10 months ago by siva
Modified:
4 years, 10 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

1. Fix memory leaks reported by running a simple test using ASAN 2. Get rid of some methods in cpuninfo that are not being used anymore and make some methods private. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/579299613046270d507070907515bb3dbdb5385d

Patch Set 1 #

Total comments: 2

Patch Set 2 : address-code-review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -98 lines) Patch
M runtime/vm/cpuid.h View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/cpuinfo.h View 2 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/cpuinfo_android.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M runtime/vm/cpuinfo_linux.cc View 3 chunks +4 lines, -34 lines 0 comments Download
M runtime/vm/cpuinfo_macos.cc View 1 4 chunks +5 lines, -16 lines 0 comments Download
M runtime/vm/cpuinfo_test.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/cpuinfo_win.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M runtime/vm/thread.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
siva
4 years, 10 months ago (2016-02-09 16:34:14 UTC) #2
zra
lgtm with small fix https://codereview.chromium.org/1677043003/diff/1/runtime/vm/cpuinfo_macos.cc File runtime/vm/cpuinfo_macos.cc (right): https://codereview.chromium.org/1677043003/diff/1/runtime/vm/cpuinfo_macos.cc#newcode63 runtime/vm/cpuinfo_macos.cc:63: char* result = new char[result_len]; ...
4 years, 10 months ago (2016-02-09 16:50:53 UTC) #3
siva
https://codereview.chromium.org/1677043003/diff/1/runtime/vm/cpuinfo_macos.cc File runtime/vm/cpuinfo_macos.cc (right): https://codereview.chromium.org/1677043003/diff/1/runtime/vm/cpuinfo_macos.cc#newcode63 runtime/vm/cpuinfo_macos.cc:63: char* result = new char[result_len]; On 2016/02/09 16:50:52, zra ...
4 years, 10 months ago (2016-02-09 18:09:12 UTC) #4
siva
4 years, 10 months ago (2016-02-09 18:54:37 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
579299613046270d507070907515bb3dbdb5385d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698