Skip to content

Commit 087c8bf

Browse files
committed
8264041: Incorrect comments for ParallelCompactData::summarize_dense_prefix
Reviewed-by: tschatzl
1 parent c087f3e commit 087c8bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/gc/parallel/psParallelCompact.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ class ParallelCompactData
428428
void add_obj(oop p, size_t len) { add_obj(cast_from_oop<HeapWord*>(p), len); }
429429

430430
// Fill in the regions covering [beg, end) so that no data moves; i.e., the
431-
// destination of region n is simply the start of region n. The argument beg
432-
// must be region-aligned; end need not be.
431+
// destination of region n is simply the start of region n. Both arguments
432+
// beg and end must be region-aligned.
433433
void summarize_dense_prefix(HeapWord* beg, HeapWord* end);
434434

435435
HeapWord* summarize_split_space(size_t src_region, SplitInfo& split_info,

0 commit comments

Comments
 (0)