Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(818)

Issue 74070043: code review 74070043: runtime: improve efence (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by dvyukov
Modified:
11 years, 2 months ago
Reviewers:
gobot, rsc
CC:
rsc, golang-codereviews
Visibility:
Public.

Description

runtime: improve efence Mark free memory blocks as unused. On amd64 it allows the process to eat all 128 GB of heap without killing the machine.

Patch Set 1 #

Patch Set 2 : diff -r c51e9abbb4fd https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r c51e9abbb4fd https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 4 : diff -r d115d6b9aaa2 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 5 : diff -r ee55fbf6e4cb https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M src/pkg/runtime/mem_darwin.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_dragonfly.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_freebsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_linux.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_nacl.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_netbsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_openbsd.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_solaris.c View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/mem_windows.c View 1 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 6
dvyukov
Hello rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 3 months ago (2014-03-11 16:44:52 UTC) #1
rsc
LGTM Oh, so if you mmap PROT_NONE over something the operating system keeps it around ...
11 years, 3 months ago (2014-03-13 03:07:56 UTC) #2
dvyukov
On 2014/03/13 03:07:56, rsc wrote: > LGTM > > Oh, so if you mmap PROT_NONE ...
11 years, 2 months ago (2014-03-13 06:20:43 UTC) #3
rsc
LGTM much better; thanks for digging into it
11 years, 2 months ago (2014-03-13 13:39:39 UTC) #4
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=83227883e5d0 *** runtime: improve efence Mark free memory blocks as unused. On ...
11 years, 2 months ago (2014-03-13 15:04:04 UTC) #5
gobot
11 years, 2 months ago (2014-03-13 16:51:38 UTC) #6
Message was sent while issue was closed.
This CL appears to have broken the windows-386-ec2 builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b