09 2019 档案
ArrayList && HashMap扩容策略
摘要:ArrayList扩容策略:默认10 扩容时是base + base/2, 即10 15 22 33 49...扩容时不安全:grow方法扩容时,赋值 elementData = Arrays.copyOf(elementData, newCapacity)时,若两个线程都进入这个地方,会导致快的赋
阅读全文
数据结构对齐 堆对齐 栈对齐
摘要:good: https://hps.vi4io.org/_media/teaching/wintersemester_2013_2014/epc-14-haase-svenhendrik-alignmentinc-presentation.pdf 本节疑惑的原因:在读Hotspot源码时: http
阅读全文
TLS Thread Local Storage
摘要:https://blog.csdn.net/yusiguyuan/article/details/22938671 https://blog.csdn.net/simsunny22/article/details/82597859
阅读全文
【转】(void**)的理解
摘要:https://blog.csdn.net/unix21/article/details/8923752
阅读全文
浙公网安备 33010602011771号