摘要:
ReadLock: 都是委托给外部类的sync对象: 获取读锁: protected final int tryAcquireShared(int unused) { /* * Walkthrough: * 1. If write lock held by another thread, fail. 阅读全文
posted @ 2020-09-13 21:26
l2c
阅读(166)
评论(0)
推荐(0)
摘要:
项目中用的默认值: 具体的,转载:https://segmentfault.com/a/1190000013341344 注: DataSourceTransactionManager只支持单数据源 阅读全文
posted @ 2020-09-13 13:26
l2c
阅读(149)
评论(0)
推荐(0)
摘要:
新生代收集器 serial 单线程,串行,必然发生stop the world,stop world之后单线程处理 parNew 多线程版本的serial出了垃圾回收时是多线程进行的,其他一样。与CMS配合使用使用-XX+UseConcMarkSweepGC选项后的默认新生代收集器。 Paralle 阅读全文
posted @ 2020-09-13 12:27
l2c
阅读(145)
评论(0)
推荐(0)