Java volatile和sychronized底层
-
Java的volatile和sychronized底层实现原理解析
目录1. 概览2. Synchronized2.1 字节码层面2.2 JVM层面2.2.1 enter方php法2.2.2 cmpxchg_ptr3. Volatile3.1 字节码层面3.2 JVM层面4. lock指令5. MESI协议6. 总结7. 其他问题8. 对比参考1. 概览[详细]
2025-03-23 11:46 分类:开发 Creating a simple command line interface (CLI) using a python server (TCP sock) and few scripts
I have a Linux box and I want to be able to telnet into it (port 77557) and run few required commands without having to access to the whole Linux box. So, I have a server listening on that port, and e[详细]
2022-12-28 20:29 分类:问答