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

Issue 1586663005: VM: Don't do free("") in shutdown when we can't find the cpu model field in /proc/cpuinfo. (Closed)

Created:
4 years, 11 months ago by rmacnak
Modified:
4 years, 11 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

VM: Don't do free("") in shutdown when we can't find the cpu model field in /proc/cpuinfo. Also fix field names of /proc/cpuinfo for Linux ARM64. BUG=http://dartbug.com/25424 R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/2ebe6f459ee8fcb6c2f9a814fc348df4719166f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

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

Messages

Total messages: 9 (3 generated)
rmacnak
Including for reference what /proc/cpuinfo looks like on {Linux,Android} x {armhf,arm64}. ***Raspberry Pi 2 (Linux ...
4 years, 11 months ago (2016-01-13 22:35:25 UTC) #3
zra
https://codereview.chromium.org/1586663005/diff/1/runtime/vm/cpuinfo_linux.cc File runtime/vm/cpuinfo_linux.cc (right): https://codereview.chromium.org/1586663005/diff/1/runtime/vm/cpuinfo_linux.cc#newcode39 runtime/vm/cpuinfo_linux.cc:39: fields_[kCpuInfoProcessor] = "processor"; Should this be Processor? lower-case processor ...
4 years, 11 months ago (2016-01-13 22:40:24 UTC) #4
rmacnak
https://codereview.chromium.org/1586663005/diff/1/runtime/vm/cpuinfo_linux.cc File runtime/vm/cpuinfo_linux.cc (right): https://codereview.chromium.org/1586663005/diff/1/runtime/vm/cpuinfo_linux.cc#newcode39 runtime/vm/cpuinfo_linux.cc:39: fields_[kCpuInfoProcessor] = "processor"; On 2016/01/13 22:40:24, zra wrote: > ...
4 years, 11 months ago (2016-01-13 23:15:56 UTC) #5
rmacnak
With "Processor" and a value of "Unknown" if we can't find it in cpuinfo
4 years, 11 months ago (2016-01-13 23:52:29 UTC) #6
zra
lgtm
4 years, 11 months ago (2016-01-13 23:58:31 UTC) #7
rmacnak
4 years, 11 months ago (2016-01-14 00:37:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
2ebe6f459ee8fcb6c2f9a814fc348df4719166f3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698