摘要:
package com.example.demo.controller; public class StringLock { public void method(String p) { // new String("字符串常量") synchronized (p.intern()) { try { System.out.println("当前线程 : " + Thread.currentThre 阅读全文
posted @ 2019-09-17 20:29
暗夜罗
阅读(1660)
评论(0)
推荐(0)

浙公网安备 33010602011771号