Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for nextGen (0.11 sec)

  1. src/runtime/tracestatus.go

    	}
    	r.readyNextGen(gen)
    	return true
    }
    
    // readyNextGen readies r for the generation following gen.
    func (r *traceSchedResourceState) readyNextGen(gen uintptr) {
    	nextGen := traceNextGen(gen)
    	r.seq[nextGen%2] = 0
    	r.statusTraced[nextGen%3].Store(0)
    }
    
    // statusWasTraced returns true if the sched resource's status was already acquired for tracing.
    func (r *traceSchedResourceState) statusWasTraced(gen uintptr) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge_test.go

    			if wantOffset != gotOffset {
    				t.Errorf("find: wanted page offset %d, got %d", wantOffset, gotOffset)
    			}
    			if t.Failed() {
    				t.FailNow()
    			}
    			si.SetEmpty(got)
    		}
    		nextGen = func() {
    			t.Helper()
    
    			si.NextGen()
    		}
    		return
    	}
    
    	// Each of these test cases calls mark and then find once.
    	type testCase struct {
    		name string
    		mark func(markFunc)
    		find func(findFunc)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. src/runtime/mgcscavenge.go

    		s.searchAddrForce.StoreMarked(addr)
    	}
    }
    
    // nextGen moves the scavenger forward one generation. Must be called
    // once per GC cycle, but may be called more often to force more memory
    // to be released.
    //
    // nextGen may only run concurrently with find.
    func (s *scavengeIndex) nextGen() {
    	s.gen++
    	searchAddr, _ := s.searchAddrBg.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    		addr, marked := a.Load()
    		if marked {
    			a.StoreUnmark(addr, addr)
    		}
    		a.Clear()
    	}
    	s.i.freeHWM = minOffAddr
    }
    
    func (s *ScavengeIndex) NextGen() {
    	s.i.nextGen()
    }
    
    func (s *ScavengeIndex) SetEmpty(ci ChunkIdx) {
    	s.i.setEmpty(chunkIdx(ci))
    }
    
    func CheckPackScavChunkData(gen uint32, inUse, lastInUse uint16, flags uint8) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    	unlock(&work.sweepWaiters.lock)
    
    	// Increment the scavenge generation now.
    	//
    	// This moment represents peak heap in use because we're
    	// about to start sweeping.
    	mheap_.pages.scav.index.nextGen()
    
    	// Release the CPU limiter.
    	gcCPULimiter.finishGCTransition(now)
    
    	// Finish the current heap profiling cycle and start a new
    	// heap profiling cycle. We do this before starting the world
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/VersionCatalogDependencyRegistry.java

        }
    
        private static String findFreeAlias(Set<String> reservedKeys, String key) {
            String nextKey = key;
            int collisionCount = 0;
            while (reservedKeys.contains(nextKey)) {
                collisionCount += 1;
                nextKey = key + "-x" + collisionCount;
            }
            return nextKey;
        }
    
        @NonNullApi
        public static class VersionEntry {
            String alias;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    	// is during a syscall.
    	tl.eventWriter(traceGoSyscall, traceProcIdle).commit(traceEvProcStart, traceArg(pp.id), pp.trace.nextSeq(tl.gen))
    }
    
    // ProcStop traces a ProcStop event.
    func (tl traceLocker) ProcStop(pp *p) {
    	// The only time a goroutine is allowed to have its Proc moved around
    	// from under it is during a syscall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/schedule.go

    	// "priority" for a value
    	score := f.Cache.allocInt8Slice(f.NumValues())
    	defer f.Cache.freeInt8Slice(score)
    
    	// maps mem values to the next live memory value
    	nextMem := f.Cache.allocValueSlice(f.NumValues())
    	defer f.Cache.freeValueSlice(nextMem)
    
    	// inBlockUses records whether a value is used in the block
    	// in which it lives. (block control values don't count as uses.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/term/term_unix.go

    	termios.Iflag &^= unix.IGNBRK | unix.BRKINT | unix.PARMRK | unix.ISTRIP | unix.INLCR | unix.IGNCR | unix.ICRNL | unix.IXON
    	termios.Oflag &^= unix.OPOST
    	termios.Lflag &^= unix.ECHO | unix.ECHONL | unix.ICANON | unix.ISIG | unix.IEXTEN
    	termios.Cflag &^= unix.CSIZE | unix.PARENB
    	termios.Cflag |= unix.CS8
    	termios.Cc[unix.VMIN] = 1
    	termios.Cc[unix.VTIME] = 0
    	if err := unix.IoctlSetTermios(fd, ioctlWriteTermios, termios); err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

                        break;
                    }
    
                    // walk up trying to find a match, do not go up to the root
                    int nextSep = link.lastIndexOf('\\');
                    if ( nextSep > 0 ) {
                        link = link.substring(0, nextSep);
                    }
                    else {
                        if ( log.isTraceEnabled() ) {
                            log.trace("Not found " + link);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top