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

Issue 6849057: code review 6849057: runtime: hide mheap from race detector (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by dvyukov
Modified:
11 years, 5 months ago
Reviewers:
CC:
golang-dev, brainman, iant
Visibility:
Public.

Description

runtime: hide mheap from race detector This significantly decreases amount of shadow memory mapped by race detector. I haven't tested on Windows, but on Linux it reduces virtual memory size from 1351m to 330m for fmt.test. Fixes issue 4379.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/pkg/runtime/race.c View 1 2 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 6
dvyukov
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 5 months ago (2012-11-15 12:08:29 UTC) #1
brainman
Tested on windows, and it does fixes issue 4379. It also decreases (for executable build ...
11 years, 5 months ago (2012-11-16 01:35:30 UTC) #2
dvyukov
Ping. I should fix the windows builder.
11 years, 5 months ago (2012-11-16 08:08:54 UTC) #3
dvyukov
On 2012/11/16 01:35:30, brainman wrote: > Tested on windows, and it does fixes issue 4379. ...
11 years, 5 months ago (2012-11-16 08:12:20 UTC) #4
iant
LGTM
11 years, 5 months ago (2012-11-16 16:00:26 UTC) #5
dvyukov
11 years, 5 months ago (2012-11-16 16:06:31 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=d464317cf047 ***

runtime: hide mheap from race detector
This significantly decreases amount of shadow memory
mapped by race detector.
I haven't tested on Windows, but on Linux it reduces
virtual memory size from 1351m to 330m for fmt.test.
Fixes issue 4379.

R=golang-dev, alex.brainman, iant
CC=golang-dev
http://codereview.appspot.com/6849057
Sign in to reply to this message.

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