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

Issue 3118013: Add last OS error into heap stats. (Closed)

Created:
10 years, 4 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add last OS error into heap stats. That could allow us to understand why commit of from space sometimes fails. Another option would be start a separate structure with OS-related info, but as it's a single field, let's put it into HeapStats, at least for now. Committed: http://code.google.com/p/v8/source/detail?r=5261

Patch Set 1 #

Patch Set 2 : rename errno to os_error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M src/api.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/heap.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/platform.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/platform-nullos.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/platform-posix.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/platform-win32.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
antonm
Mads, Søren, may you have a look? I am going to try to bring it ...
10 years, 4 months ago (2010-08-12 19:42:39 UTC) #1
Mads Ager (chromium)
LGTM I see no problem with merging this to the 2.2 branch as well.
10 years, 4 months ago (2010-08-13 06:24:07 UTC) #2
Søren Thygesen Gjesse
LGTM
10 years, 4 months ago (2010-08-13 06:37:47 UTC) #3
antonm
10 years, 4 months ago (2010-08-13 11:11:22 UTC) #4
Thanks a lot for review.

I had to rename errno to os_error as otherwise VS2005 failed to build it, hope
it's fine with you.

Powered by Google App Engine
This is Rietveld 408576698