Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for GCWriteBarrier (0.19 sec)

  1. src/runtime/mbarrier.go

    // For the concurrent garbage collector, the Go compiler implements
    // updates to pointer-valued fields that may be in heap objects by
    // emitting calls to write barriers. The main write barrier for
    // individual pointer writes is gcWriteBarrier and is implemented in
    // assembly. This file contains write barrier entry points for bulk
    // operations. See also mwbbuf.go.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/wasm/asm.go

    	"runtime.wasmTruncS":      {Params: []byte{F64}, Results: []byte{I64}},                // x -> int(x)
    	"runtime.wasmTruncU":      {Params: []byte{F64}, Results: []byte{I64}},                // x -> uint(x)
    	"gcWriteBarrier":          {Params: []byte{I64}, Results: []byte{I64}},                // #bytes -> bufptr
    	"runtime.gcWriteBarrier1": {Results: []byte{I64}},                                     // -> bufptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/LOONG64Ops.go

    		// the result should be the PC within f that g will return to.
    		// See runtime/stubs.go for a more detailed discussion.
    		{name: "LoweredGetCallerPC", reg: gp01, rematerializeable: true},
    
    		// LoweredWB invokes runtime.gcWriteBarrier. arg0=mem, auxint=# of buffer entries needed
    		// It saves all GP registers if necessary,
    		// but clobbers R1 (LR) because it's a call
    		// and R30 (REGTMP).
    		// Returns a pointer to a write barrier buffer in R29.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:19 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/writebarrier.go

    		return
    	}
    
    	// Number of write buffer entries we can request at once.
    	// Must match runtime/mwbbuf.go:wbMaxEntriesPerCall.
    	// It must also match the number of instances of runtime.gcWriteBarrier{X}.
    	const maxEntries = 8
    
    	var sb, sp, wbaddr, const0 *Value
    	var cgoCheckPtrWrite, cgoCheckMemmove *obj.LSym
    	var wbZero, wbMove *obj.LSym
    	var stores, after []*Value
    	var sset, sset2 *sparseSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		// the result should be the PC within f that g will return to.
    		// See runtime/stubs.go for a more detailed discussion.
    		{name: "LoweredGetCallerPC", reg: gp01, rematerializeable: true},
    
    		// LoweredWB invokes runtime.gcWriteBarrier. arg0=mem, auxint=# of buffer entries needed
    		// It saves all GP registers if necessary,
    		// but clobbers RA (LR) because it's a call
    		// and T6 (REG_TMP).
    		// Returns a pointer to a write barrier buffer in X24.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "WBend", argLength: 1, typ: "Mem"},                  // Write barrier code is done, interrupting is now allowed.
    
    	// WB invokes runtime.gcWriteBarrier.  This is not a normal
    	// call: it takes arguments in registers, doesn't clobber
    	// general-purpose registers (the exact clobber set is
    	// arch-dependent), and is not a safe-point.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "LoweredAtomicOr32", argLength: 3, reg: gpstore, asm: "OR", faultOnNilArg0: true, hasSideEffects: true},
    
    		// LoweredWB invokes runtime.gcWriteBarrier. arg0=mem, auxint=# of buffer entries needed
    		// It preserves R0 through R17 (except special registers R1, R2, R11, R12, R13), g, and R20 and R21,
    		// but may clobber anything else, including R31 (REGTMP).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top