Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hchanLeaf (0.09 sec)

  1. src/runtime/mklockrank.go

    # Generally, hchan must be acquired before gscan. But in one case,
    # where we suspend a G and then shrink its stack, syncadjustsudogs
    # can acquire hchan locks while holding gscan. To allow this case,
    # we use hchanLeaf instead of hchan.
    gscan < hchanLeaf;
    
    # Write barrier
    defer,
      gscan,
      mspanSpecial,
      pollCache,
      sudog,
      timer
    # Anything that can have write barriers can acquire WB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/runtime/lockrank.go

    	lockRankProfMemFuture:   "profMemFuture",
    	lockRankGscan:           "gscan",
    	lockRankStackpool:       "stackpool",
    	lockRankStackLarge:      "stackLarge",
    	lockRankHchanLeaf:       "hchanLeaf",
    	lockRankWbufSpans:       "wbufSpans",
    	lockRankMheap:           "mheap",
    	lockRankMheapSpecial:    "mheapSpecial",
    	lockRankGlobalAlloc:     "globalAlloc",
    	lockRankTrace:           "trace",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top