多处理器编程的艺术

Nir Shavit, Maurice Herlihy

出版时间

2008-08-01

ISBN

9787111247357

评分

★★★★★
书籍介绍
这本书最值钱的,或许不在它讲了多少精妙的锁算法,而在它逼着读者重新理解
AI导读
核心看点
  • 系统阐述多处理器编程指导原则
  • 深入解析高效并发算法与锁技术
  • 涵盖共享内存并发同步核心理论
读者共识
  • 领域权威著作,理论深度极高
  • 翻译质量参差不齐,建议参考原版
  • 实用转化较慢,重在构建知识体系
精彩摘录
  • "举个例子,如果你在星期一存入工资,但是由于银行在提款后重排了存款的顺序,导致到下一个星期五才退出资金收据,这将使你感到非常恼火。"
  • "For example, we might be unhappy if we deposit our paycheck on Monday, but the bank bounces our rent check the following Friday because it reordered our deposit after your withdrawal."
  • "the TASLock performs very poorly, and the TTASLock performance, while substantially better, still falls far short of the ideal."
  • "Now consider the behavior of the TTASLock algorithm while the lock is held by a thread A. The first time thread B reads the lock it takes a cache miss, forcing B to block while the value is loaded into B's cache. As long as A holds the lock, B repeatly reread the value, but hits in the cache every t"
  • "This notion of local spinning, where threads repeatly reread cached values instead of repeatedly using the bus, is an important principle critical to the design of efficeient spin locks. Here is a key observation: if some other thread aquires the lock between hte first and second step, then, most li"
用户评论
国创终于结束了,松一大口气。
值得看,但是没那么快转化为生产力
主要java多线程库的讲解啊。另外,这书可以写得稍微严谨一点吗???
此书有违ART之名呀,光errata就21页,密密麻麻的。
每章的文献导读可以看看
很有难度,但内容还是很不错的
看了前六章的理论部分,对于jsr有了一定的理解
下载
收藏