JOL探索synchronized鎖-子路老師

synchronized鎖:①鎖實例 ②鎖對象html package com.hx.zbhuang; public class SyncExplore { public void test(){ // 鎖住類實例 synchronized (this){ System.out.println("this start");
相關文章
相關標籤/搜索