Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mediumScalarEven (0.17 sec)

  1. src/runtime/arena_test.go

    	// In order to ensure the object can be freed, we now need to make sure to use
    	// the entire arena. Exhaust the rest of the arena.
    
    	for i := 0; i < int(UserArenaChunkBytes/unsafe.Sizeof(mediumScalarEven{})); i++ {
    		var x any
    		x = (*mediumScalarEven)(nil)
    		arena.New(&x)
    	}
    
    	// Make sure it stays alive again.
    	GC()
    	GC()
    
    	v = nil
    
    	safeToFinalize.Store(true)
    	if useArenaFinalizer {
    		arena = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top