Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for safe_point (0.28 sec)

  1. test/codegen/memcombine.go

    	b = a
    	return
    }
    
    // Make sure we don't put pointers in SSE registers across safe
    // points.
    
    func safe_point(p, q *[2]*int) {
    	a, b := p[0], p[1] // amd64:-`MOVUPS`
    	runtime.GC()
    	q[0], q[1] = a, b // amd64:-`MOVUPS`
    }
    
    // ------------- //
    //    Storing    //
    // ------------- //
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tests/transaction_test.go

    	}
    
    	if err := tx.SavePoint("save_point1").Error; err != nil {
    		t.Fatalf("Failed to save point, got error %v", err)
    	}
    
    	user1 := *GetUser("transaction-save-point-1", Config{})
    	tx.Create(&user1)
    
    	if err := tx.First(&User{}, "name = ?", user1.Name).Error; err != nil {
    		t.Fatalf("Should find saved record")
    	}
    
    	if err := tx.RollbackTo("save_point1").Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    	lv.livevars = lv.livevars[:0]
    }
    
    func (lv *liveness) enableClobber() {
    	// The clobberdead experiment inserts code to clobber pointer slots in all
    	// the dead variables (locals and args) at every synchronous safepoint.
    	if !base.Flag.ClobberDead {
    		return
    	}
    	if lv.fn.Pragma&ir.CgoUnsafeArgs != 0 {
    		// C or assembly code uses the exact frame layout. Don't clobber.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    	Asym    *LSym
    	Aoffset int32
    	Name    AddrName
    	Gotype  *LSym
    }
    
    // RegSpill provides spill/fill information for a register-resident argument
    // to a function.  These need spilling/filling in the safepoint/stackgrowth case.
    // At the time of fill/spill, the offset must be adjusted by the architecture-dependent
    // adjustment to hardware SP that occurs in a call instruction.  E.g., for AMD64,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Convert converts between pointers and integers.
    	// We have a special op for this so as to not confuse GC
    	// (particularly stack maps).  It takes a memory arg so it
    	// gets correctly ordered with respect to GC safepoints.
    	// It gets compiled to nothing, so its result must in the same
    	// register as its argument. regalloc knows it can use any
    	// allocatable integer register for OpConvert.
    	// arg0=ptr/int arg1=mem, output=int/ptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	freem *m
    
    	gcwaiting  atomic.Bool // gc is waiting to run
    	stopwait   int32
    	stopnote   note
    	sysmonwait atomic.Bool
    	sysmonnote note
    
    	// safePointFn should be called on each P at the next GC
    	// safepoint if p.runSafePointFn is set.
    	safePointFn   func(*p)
    	safePointWait int32
    	safePointNote note
    
    	profilehz int32 // cpu profiling rate
    
    	procresizetime int64 // nanotime() of last change to gomaxprocs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top