Skip to content

Commit 046638c

Browse files
committed
fix issue of slowdebug build fail
1 parent cb75521 commit 046638c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/parallel/psOldGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void PSOldGen::block_iterate(ObjectClosure* cl, size_t block_index) {
211211
}
212212
assert(begin <= start,
213213
"object address" PTR_FORMAT " must be larger or equal to block address at " PTR_FORMAT "\n",
214-
start, begin);
214+
p2i(start), p2i(begin));
215215
for (HeapWord* p = start; p < end; p += oop(p)->size()) {
216216
cl->do_object(oop(p));
217217
}

0 commit comments

Comments
 (0)