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

Delta Between Two Patch Sets: src/pkg/runtime/pprof/pprof_test.go

Issue 136980044: code review 136980044: runtime: convert chanrecv to Go (Closed)
Left Patch Set: diff -r 25ae16c918f65ca0e0039d74109aaeefa716d987 https://code.google.com/p/go/ Created 10 years, 6 months ago
Right Patch Set: diff -r 7786bd1553ab00632e8ea85a78d640eb19c9d490 https://code.google.com/p/go/ Created 10 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/chan.goc ('k') | src/pkg/runtime/stubs.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2011 The Go Authors. All rights reserved. 1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build !nacl 5 // +build !nacl
6 6
7 package pprof_test 7 package pprof_test
8 8
9 import ( 9 import (
10 "bytes" 10 "bytes"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 286 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
287 `}, 287 `},
288 {"chan send", blockChanSend, ` 288 {"chan send", blockChanSend, `
289 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 289 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
290 # 0x[0-9,a-f]+ runtime\.chansend1\+0x[0-9,a-f]+ .*/src/pkg/runti me/chan.go:[0-9]+ 290 # 0x[0-9,a-f]+ runtime\.chansend1\+0x[0-9,a-f]+ .*/src/pkg/runti me/chan.go:[0-9]+
291 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanSend\+0x[0-9,a-f]+ .*/src/p kg/runtime/pprof/pprof_test.go:[0-9]+ 291 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanSend\+0x[0-9,a-f]+ .*/src/p kg/runtime/pprof/pprof_test.go:[0-9]+
292 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 292 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
293 `}, 293 `},
294 {"chan close", blockChanClose, ` 294 {"chan close", blockChanClose, `
295 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 295 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
296 #» 0x[0-9,a-f]+» runtime\.chanrecv1\+0x[0-9,a-f]+» .*/src/pkg/runti me/chan.goc:[0-9]+ 296 #» 0x[0-9,a-f]+» runtime\.chanrecv1\+0x[0-9,a-f]+» .*/src/pkg/runti me/chan.go:[0-9]+
297 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanClose\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 297 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanClose\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
298 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 298 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
299 `}, 299 `},
300 {"select recv async", blockSelectRecvAsync, ` 300 {"select recv async", blockSelectRecvAsync, `
301 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 301 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+
302 # 0x[0-9,a-f]+ runtime\.selectgo\+0x[0-9,a-f]+ .*/src/pkg/runtime/chan. goc:[0-9]+ 302 # 0x[0-9,a-f]+ runtime\.selectgo\+0x[0-9,a-f]+ .*/src/pkg/runtime/chan. goc:[0-9]+
303 # 0x[0-9,a-f]+ runtime/pprof_test\.blockSelectRecvAsync\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 303 # 0x[0-9,a-f]+ runtime/pprof_test\.blockSelectRecvAsync\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
304 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ 304 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+ .*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+
305 `}, 305 `},
306 {"select send sync", blockSelectSendSync, ` 306 {"select send sync", blockSelectSendSync, `
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 mu.Lock() 414 mu.Lock()
415 go func() { 415 go func() {
416 time.Sleep(blockDelay) 416 time.Sleep(blockDelay)
417 mu.Lock() 417 mu.Lock()
418 c.Signal() 418 c.Signal()
419 mu.Unlock() 419 mu.Unlock()
420 }() 420 }()
421 c.Wait() 421 c.Wait()
422 mu.Unlock() 422 mu.Unlock()
423 } 423 }
LEFTRIGHT

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