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

Issue 161960044: [dev.power64] code review 161960044: runtime: fix early GC of Defer objects (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by austin
Modified:
10 years, 4 months ago
Reviewers:
rsc
CC:
rsc, golang-codereviews
Visibility:
Public.

Description

runtime: fix early GC of Defer objects go_bootstrap was panicking during runtime initialization (under runtime.main) because Defer objects were being prematurely GC'd. This happened because of an incorrect change to runtime·unrollgcprog_m to make it endian-agnostic during the conversion of runtime bitmaps to byte arrays.

Patch Set 1 #

Patch Set 2 : diff -r 358d997cae5ff895118c1f40e7584581b24da740 https://code.google.com/p/go #

Patch Set 3 : diff -r 358d997cae5ff895118c1f40e7584581b24da740 https://code.google.com/p/go #

Patch Set 4 : diff -r 358d997cae5ff895118c1f40e7584581b24da740 https://code.google.com/p/go #

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

Messages

Total messages: 3
austin
Hello rsc, rsc@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to the dev.power64 ...
10 years, 4 months ago (2014-10-22 20:17:46 UTC) #1
rsc
LGTM
10 years, 4 months ago (2014-10-22 20:18:34 UTC) #2
austin
10 years, 4 months ago (2014-10-22 20:39:44 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=c8b6afa764eb ***

[dev.power64] runtime: fix early GC of Defer objects

go_bootstrap was panicking during runtime initialization
(under runtime.main) because Defer objects were being
prematurely GC'd.  This happened because of an incorrect
change to runtime·unrollgcprog_m to make it endian-agnostic
during the conversion of runtime bitmaps to byte arrays.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/161960044
Sign in to reply to this message.

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