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

Issue 14290043: code review 14290043: runtime: fix finalizer test on amd64 (Closed)

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

Description

runtime: fix finalizer test on amd64 Not scanning the stack by frames means we are reintroducing a few false positives into the collection. Run the finalizer registration in its own goroutine so that stack is guaranteed to be out of consideration in a later collection. This is working around a regression from yesterday's tip, but it's not a regression from Go 1.1.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M src/pkg/runtime/mfinal_test.go View 1 2 2 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 2
rsc
Hello golang-dev, golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 7 months ago (2013-10-02 16:30:47 UTC) #1
rsc
11 years, 7 months ago (2013-10-02 16:30:52 UTC) #2
*** Submitted as https://code.google.com/p/go/source/detail?r=7266a3768bfa ***

runtime: fix finalizer test on amd64

Not scanning the stack by frames means we are reintroducing
a few false positives into the collection. Run the finalizer registration
in its own goroutine so that stack is guaranteed to be out of
consideration in a later collection.

This is working around a regression from yesterday's tip, but
it's not a regression from Go 1.1.

R=golang-dev
TBR=golang-dev
CC=golang-dev
https://codereview.appspot.com/14290043
Sign in to reply to this message.

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