-
```
#### 偏向锁撤销(InterpreterRuntime::monitorenter)流程
# 0 JVM使用偏向锁开关打开
0.1 直接调用 ObjectSynchronizer::fast_enter
# 1 JVM使用偏向锁开关关闭
0.1 直接调用 ObjectSynchronizer::slow_enter
#### ObjectSync…
-
## synchronized 分析
- [Biased Lock 偏向锁](https://github.com/monsterhxw/my-notes/issues/1)
- [Light-weight Lock 轻量级锁](https://github.com/monsterhxw/my-notes/issues/2)
- [Heavy-weight Lock 重量级锁](https:…
-
本文为synchronized系列第二篇。主要内容为分析偏向锁的实现。
偏向锁的诞生背景和基本原理在上文中已经讲过了,**强烈建议在有看过上篇[文章](https://github.com/farmerjohngit/myblog/issues/12)的基础下阅读本文**。
更多文章见个人博客:https://github.com/farmerjohngit/myblog
本系列…
-
## synchronized源码分析
1. [入口](https://github.com/HenryChenV/my-notes/issues/2)
2. [偏向锁](https://github.com/HenryChenV/my-notes/issues/3)
3. [轻量级锁](https://github.com/HenryChenV/my-notes/issues/4)
4.…
-
Using the Docker version of fcrepo-camel-toolbox (latest version) I got a 100% CPU usage for one of the container cores even when no update is present in the Fedora ActiveMQ queue.
My configuratio…
-
When working with AVR devices we need as much as possible to avoid including the math library as it is very memory-consuming. We should thus instead create our own math.h library which would "branch" …
-
```
#### 偏向锁的获取
# 1 从线程栈的栈底遍历尝试寻找一个【objectRef为NULL的RecordLock】或者【当前线程已经用在当前锁对象上的LockRecord】
1.1 如果碰到【当前线程已经用在当前锁对象上的LockRecord】,直接退出遍历(定位到之前的LockRecord)
1.2 如果【objectRef为NULL的RecordLock】…
-
**Describe the bug**
E5-small/base/large v1/v2
Hi unilm team,
Thank you so much for the great project! We try to replace sentence-transformer with E5. When using the official example scripts wi…
-
binding: 648bb27f4bb5c84a83f74fda1d699514548cf663
mmtk-core: d2324cff01438e8c2911c00e1c3c2e691b90471b
After running
```
MMTK_THREADS=1 MMTK_PLAN=SemiSpace /home/xinyuz/mmtk/mmtk-openjdk/repos/op…
-
## synchronized源码分析
1. [入口](https://github.com/HenryChenV/my-notes/issues/2)
2. [偏向锁](https://github.com/HenryChenV/my-notes/issues/3)
3. [轻量级锁](https://github.com/HenryChenV/my-notes/issues/4)
4.…