mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8049737: Contended Locking reorder and cache line bucket
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket. Co-authored-by: Dave Dice <dave.dice@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Reviewed-by: shade, dice, dholmes, dsimms
This commit is contained in:
parent
51866388d1
commit
f1ab0fae73
13 changed files with 302 additions and 247 deletions
|
@ -134,6 +134,8 @@ class ObjectSynchronizer : AllStatic {
|
|||
|
||||
private:
|
||||
enum { _BLOCKSIZE = 128 };
|
||||
// gBlockList is really PaddedEnd<ObjectMonitor> *, but we don't
|
||||
// want to expose the PaddedEnd template more than necessary.
|
||||
static ObjectMonitor* gBlockList;
|
||||
static ObjectMonitor * volatile gFreeList;
|
||||
// global monitor in use list, for moribund threads,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue