Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnsafePoint (0.09 sec)

  1. src/runtime/unsafepoint_test.go

    		if entry == 0 {
    			entry = pc
    		}
    		// Note that some platforms do ASLR, so the PCs in the disassembly
    		// don't match PCs in the address space. Only offsets from function
    		// entry make sense.
    		unsafe := runtime.UnsafePoint(f.Entry() + uintptr(pc-entry))
    		t.Logf("unsafe: %v\n", unsafe)
    		instructionCount++
    		if unsafe {
    			unsafeCount++
    		}
    
    		// All the instructions inside the write barrier must be unpreemptible.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top