@@ -146,7 +146,7 @@ initializeMonitorTable(J9JavaVM* vm)
146146 return -1 ;
147147 }
148148 memset (vm -> monitorTables , 0 , sizeof (J9HashTable * ) * tableCount );
149-
149+
150150 vm -> monitorTableList = NULL ;
151151
152152 for (tableIndex = 0 ; tableIndex < tableCount ; tableIndex ++ ) {
@@ -170,7 +170,7 @@ initializeMonitorTable(J9JavaVM* vm)
170170 }
171171
172172 vm -> monitorTableCount = tableCount ;
173-
173+
174174 return 0 ;
175175}
176176
@@ -299,20 +299,20 @@ monitorTableAt(J9VMThread* vmStruct, j9object_t object)
299299 ((J9ThreadAbstractMonitor * )monitor )-> spinCount1 = j9threadOptions -> customThreeTierSpinCount1 ;
300300 ((J9ThreadAbstractMonitor * )monitor )-> spinCount2 = j9threadOptions -> customThreeTierSpinCount2 ;
301301 ((J9ThreadAbstractMonitor * )monitor )-> spinCount3 = j9threadOptions -> customThreeTierSpinCount3 ;
302-
302+
303303 Trc_VM_MonitorTableAt_CustomSpinOption (option -> className ,
304304 object ,
305305 ((J9ThreadAbstractMonitor * )monitor )-> spinCount1 ,
306306 ((J9ThreadAbstractMonitor * )monitor )-> spinCount2 ,
307307 ((J9ThreadAbstractMonitor * )monitor )-> spinCount3 );
308308#endif /* OMR_THR_THREE_TIER_LOCKING */
309- #if defined(OMR_THR_ADAPTIVE_SPIN )
309+ #if defined(OMR_THR_ADAPTIVE_SPIN )
310310 Trc_VM_MonitorTableAt_CustomSpinOption2 (option -> className ,
311- object ,
311+ object ,
312312 j9threadOptions -> customAdaptSpin );
313- #endif /* OMR_THR_ADAPTIVE_SPIN */
313+ #endif /* OMR_THR_ADAPTIVE_SPIN */
314314 }
315- #endif /* OMR_THR_CUSTOM_SPIN_OPTIONS */
315+ #endif /* OMR_THR_CUSTOM_SPIN_OPTIONS */
316316#endif /* J9VM_INTERP_CUSTOM_SPIN_OPTIONS */
317317
318318 key_objectMonitor .monitor = monitor ;
@@ -324,6 +324,7 @@ monitorTableAt(J9VMThread* vmStruct, j9object_t object)
324324
325325#if JAVA_SPEC_VERSION >= 24
326326 key_objectMonitor .virtualThreadWaitCount = 0 ;
327+ key_objectMonitor .platformThreadWaitCount = 0 ;
327328 key_objectMonitor .ownerContinuation = NULL ;
328329 key_objectMonitor .waitingContinuations = NULL ;
329330 key_objectMonitor .next = NULL ;
0 commit comments