Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for captureStack (0.41 sec)

  1. src/runtime/mprof.go

    //
    //go:nowritebarrierrec
    func (prof *mLockProfile) recordUnlock(l *mutex) {
    	if uintptr(unsafe.Pointer(l)) == prof.pending {
    		prof.captureStack()
    	}
    	if gp := getg(); gp.m.locks == 1 && gp.m.mLockProfile.cycles != 0 {
    		prof.store()
    	}
    }
    
    func (prof *mLockProfile) captureStack() {
    	if debug.profstackdepth == 0 {
    		// profstackdepth is set to 0 by the user, so mp.profStack is nil and we
    		// can't record a stack trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

        def "should capture basic data when a foreground daemon runs multiple builds"() {
            given:
            buildFile << """
            ${imports()}
    
            ${captureTask("capture1", 1, 1)}
            ${captureTask("capture2", 2, 1)}
            """
    
            when:
            def daemon = startAForegroundDaemon()
    
            List<ExecutionResult> captureResults = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top