Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for typeBitsBulkBarrier (0.14 sec)

  1. src/runtime/mbitmap.go

    //
    //go:nosplit
    func typeBitsBulkBarrier(typ *_type, dst, src, size uintptr) {
    	if typ == nil {
    		throw("runtime: typeBitsBulkBarrier without type")
    	}
    	if typ.Size_ != size {
    		println("runtime: typeBitsBulkBarrier with type ", toRType(typ).string(), " of size ", typ.Size_, " but memory size", size)
    		throw("runtime: invalid typeBitsBulkBarrier")
    	}
    	if typ.Kind_&abi.KindGCProg != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. src/runtime/chan.go

    // violating that assumption, but the write barrier has to work.
    // typedmemmove will call bulkBarrierPreWrite, but the target bytes
    // are not in the heap, so that will not help. We arrange to call
    // memmove and typeBitsBulkBarrier instead.
    
    func sendDirect(t *_type, sg *sudog, src unsafe.Pointer) {
    	// src is on our stack, dst is a slot on another stack.
    
    	// Once we read sg.elem out of sg, it will no longer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. src/internal/abi/type.go

    // to get started, and processing 128 pointers seems to be enough to
    // amortize that overhead well.
    //
    // To make sure that the runtime's chansend can call typeBitsBulkBarrier,
    // we raised the limit to 2048, so that even 32-bit systems are guaranteed to
    // use bitmaps for objects up to 64 kB in size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top