qgs 最近的时间轴更新
qgs

qgs

V2EX 第 410451 号会员,加入于 2019-05-08 23:09:54 +08:00
今日活跃度排名 8833
根据 qgs 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
qgs 最近回复了
2 天前
回复了 luzemin 创建的主题 程序员 HackerNews 上看到的 [丑丑头像生成器]
分子
299 天前
回复了 EyreFree 创建的主题 WWDC 又又又被 Apple 官网推荐了!?
分母
347 天前
回复了 panky 创建的主题 酷工作 [业余兴趣项目] 找 Java 后端
楼主还在吗? dng6cWluZ3Vpcw==
2023-02-22 23:27:10 +08:00
回复了 caEsIum 创建的主题 问与答 2023 年还能润么?
386 次点击,没人理😂
分母
2022-06-15 16:56:54 +08:00
回复了 zkqiang 创建的主题 奇思妙想 如果你想做自媒体视频号,你会做什么?
我对 电影拍摄手法 很感兴趣
现在都是解析电影电视剧内容的,没怎么见解析拍摄手法的,比如 镜头调度,布局,专场;我非常喜欢 《哈利波特与阿兹卡班囚徒》
感觉门槛太高了
2022-04-11 09:45:24 +08:00
回复了 followyourheart 创建的主题 Java 单例模式 双检测问题请教
idea 里面在第一个 if 上面,按两次 ctrl + f1 ,会出现解释

Double-checked locking
Inspection info: Reports double-checked locking.
Double-checked locking tries to initialize a field on demand and in a thread-safe manner while avoiding the cost of synchronization. Unfortunately it is not thread-safe when used on a field that is not declared volatile. When using Java 1.4 or earlier, double-checked locking doesn't work even with volatile fields. Read the article linked above for the detailed explanation of the problem.
Example of an incorrect double-checked locking:
class Foo {
private Helper helper = null;
public Helper getHelper() {
if (helper == null)
synchronized(this) {
if (helper == null) helper = new Helper();
}
return helper;
}
}
// other functions and members...
}
2021-07-12 17:03:28 +08:00
回复了 freedom1988 创建的主题 推广 [年中赠书] 送 3 本高级前端程序员面试笔试宝典
分母
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3263 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 14:07 · PVG 22:07 · LAX 07:07 · JFK 10:07
Developed with CodeLauncher
♥ Do have faith in what you're doing.