@@ -119,7 +119,7 @@ J9AllocateObjectNoGC(J9VMThread *vmThread, J9Class *clazz, uintptr_t allocateFla
119
119
uintptr_t actuallyAllocatedBytes = mixedOAM.getAllocateDescription ()->getContiguousBytes ();
120
120
Assert_GC_true_with_message4 (env, allocatedBytes == actuallyAllocatedBytes,
121
121
" Mixed object allocation sanity failure: object %p, requested %zu bytes, but read %zu, MM_MixedObjectAllocationModel %p\n " ,
122
- objectPtr, allocatedBytes, actuallyAllocatedBytes, mixedOAM);
122
+ objectPtr, allocatedBytes, actuallyAllocatedBytes, & mixedOAM);
123
123
124
124
if (LN_HAS_LOCKWORD (vmThread, objectPtr)) {
125
125
j9objectmonitor_t initialLockword = VM_ObjectMonitor::getInitialLockword (vmThread->javaVM , clazz);
@@ -366,7 +366,7 @@ J9AllocateIndexableObjectNoGC(J9VMThread *vmThread, J9Class *clazz, uint32_t num
366
366
uintptr_t actuallyAllocatedBytes = indexableOAM.getAllocateDescription ()->getContiguousBytes ();
367
367
Assert_GC_true_with_message4 (env, allocatedBytes == actuallyAllocatedBytes,
368
368
" Indexable object allocation sanity failure: object %p, requested %zu bytes, but read %zu, MM_IndexableObjectAllocationModel %p\n " ,
369
- objectPtr, allocatedBytes, actuallyAllocatedBytes, indexableOAM);
369
+ objectPtr, allocatedBytes, actuallyAllocatedBytes, & indexableOAM);
370
370
}
371
371
env->_isInNoGCAllocationCall = false ;
372
372
}
@@ -432,7 +432,7 @@ J9AllocateObject(J9VMThread *vmThread, J9Class *clazz, uintptr_t allocateFlags)
432
432
uintptr_t actuallyAllocatedBytes = mixedOAM.getAllocateDescription ()->getContiguousBytes ();
433
433
Assert_GC_true_with_message4 (env, allocatedBytes == actuallyAllocatedBytes,
434
434
" Mixed object allocation sanity failure: object %p, requested %zu bytes, but read %zu, MM_MixedObjectAllocationModel %p\n " ,
435
- objectPtr, allocatedBytes, actuallyAllocatedBytes, mixedOAM);
435
+ objectPtr, allocatedBytes, actuallyAllocatedBytes, & mixedOAM);
436
436
437
437
if (LN_HAS_LOCKWORD (vmThread, objectPtr)) {
438
438
j9objectmonitor_t initialLockword = VM_ObjectMonitor::getInitialLockword (vmThread->javaVM , clazz);
@@ -600,7 +600,7 @@ J9AllocateIndexableObject(J9VMThread *vmThread, J9Class *clazz, uint32_t numberO
600
600
uintptr_t actuallyAllocatedBytes = indexableOAM.getAllocateDescription ()->getContiguousBytes ();
601
601
Assert_GC_true_with_message4 (env, allocatedBytes == actuallyAllocatedBytes,
602
602
" Indexable object allocation sanity failure: object %p, requested %zu bytes, but read %zu, MM_IndexableObjectAllocationModel %p\n " ,
603
- objectPtr, allocatedBytes, actuallyAllocatedBytes, indexableOAM);
603
+ objectPtr, allocatedBytes, actuallyAllocatedBytes, & indexableOAM);
604
604
}
605
605
}
606
606
0 commit comments