Skip to content

Commit 788d2bc

Browse files
committedMar 27, 2024
8329169: Parallel: Remove unused local variable in MutableSpace::print_on
Reviewed-by: tschatzl
1 parent 4dfcc6d commit 788d2bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/hotspot/share/gc/parallel/mutableSpace.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,8 @@ void MutableSpace::print_on(outputStream* st) const {
268268
void MutableSpace::verify() {
269269
HeapWord* p = bottom();
270270
HeapWord* t = top();
271-
HeapWord* prev_p = nullptr;
272271
while (p < t) {
273272
oopDesc::verify(cast_to_oop(p));
274-
prev_p = p;
275273
p += cast_to_oop(p)->size();
276274
}
277275
guarantee(p == top(), "end of last object must match end of space");

0 commit comments

Comments
 (0)
Please sign in to comment.