equal
deleted
inserted
replaced
132 |
132 |
133 static void RegisterSpinCallback(int(*)(intptr_t, int), intptr_t); |
133 static void RegisterSpinCallback(int(*)(intptr_t, int), intptr_t); |
134 |
134 |
135 private: |
135 private: |
136 enum { _BLOCKSIZE = 128 }; |
136 enum { _BLOCKSIZE = 128 }; |
|
137 // gBlockList is really PaddedEnd<ObjectMonitor> *, but we don't |
|
138 // want to expose the PaddedEnd template more than necessary. |
137 static ObjectMonitor* gBlockList; |
139 static ObjectMonitor* gBlockList; |
138 static ObjectMonitor * volatile gFreeList; |
140 static ObjectMonitor * volatile gFreeList; |
139 // global monitor in use list, for moribund threads, |
141 // global monitor in use list, for moribund threads, |
140 // monitors they inflated need to be scanned for deflation |
142 // monitors they inflated need to be scanned for deflation |
141 static ObjectMonitor * volatile gOmInUseList; |
143 static ObjectMonitor * volatile gOmInUseList; |