Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for new_stack (0.12 sec)

  1. src/runtime/asm_amd64.s

    	LEAQ	16(SP), AX	// f's caller's SP
    	MOVQ	AX, (m_morebuf+gobuf_sp)(BX)
    	MOVQ	DI, (m_morebuf+gobuf_g)(BX)
    
    	// Call newstack on m->g0's stack.
    	MOVQ	m_g0(BX), BX
    	MOVQ	BX, g(CX)
    	MOVQ	(g_sched+gobuf_sp)(BX), SP
    	MOVQ	(g_sched+gobuf_bp)(BX), BP
    	CALL	runtime·newstack(SB)
    	CALL	runtime·abort(SB)	// crash if newstack returns
    	RET
    
    // morestack but not preserving ctxt.
    TEXT runtime·morestack_noctxt(SB),NOSPLIT,$0
    	MOVL	$0, DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <E>
         *            {@link Stack}の要素型
         * @return {@link Stack}の新しいインスタンス
         * @see Stack#Stack()
         */
        public static <E> Stack<E> newStack() {
            return new Stack<>();
        }
    
        /**
         * {@link SynchronousQueue}の新しいインスタンスを作成して返します。
         *
         * @param <E>
         *            {@link SynchronousQueue}の要素型
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. src/runtime/traceback.go

    		if u.flags&unwindJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil && gp.m.curg.m == gp.m {
    			switch f.funcID {
    			case abi.FuncID_morestack:
    				// morestack does not return normally -- newstack()
    				// gogo's to curg.sched. Match that.
    				// This keeps morestack() from showing up in the backtrace,
    				// but that makes some sense since it'll never be returned
    				// to.
    				gp = gp.m.curg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    		if !stackContains(f, count, stk, labels) {
    			return false
    		}
    	}
    	return true
    }
    
    func TestMorestack(t *testing.T) {
    	matches := matchAndAvoidStacks(stackContainsAll, []string{"runtime.newstack,runtime/pprof.growstack"}, avoidFunctions())
    	testCPUProfile(t, matches, func(duration time.Duration) {
    		t := time.After(duration)
    		c := make(chan bool)
    		for {
    			go func() {
    				growstack1()
    				c <- true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top