JDK 24 |
---|
24 b18Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The ObjectMonitor successor protocol designates a Responsible thread to avoid a memory barrier when storing null in the owner for unlocking a monitor. The cost of memory barriers is a lot lower than 20+ yrs ago when this was implemented. We could simplify this code by adding the write barrier and removing Responsible. Performance test this, of course.
|