File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
src/hotspot/share/gc/parallel Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1912,18 +1912,14 @@ void PSParallelCompact::verify_complete(SpaceId space_id) {
19121912 size_t cur_region;
19131913 for (cur_region = beg_region; cur_region < new_top_region; ++cur_region) {
19141914 const RegionData* const c = sd.region (cur_region);
1915- if (!c->completed ()) {
1916- log_warning (gc)(" region " SIZE_FORMAT " not filled: destination_count=%u" ,
1917- cur_region, c->destination_count ());
1918- }
1915+ assert (c->completed (), " region %zu not filled: destination_count=%u" ,
1916+ cur_region, c->destination_count ());
19191917 }
19201918
19211919 for (cur_region = new_top_region; cur_region < old_top_region; ++cur_region) {
19221920 const RegionData* const c = sd.region (cur_region);
1923- if (!c->available ()) {
1924- log_warning (gc)(" region " SIZE_FORMAT " not empty: destination_count=%u" ,
1925- cur_region, c->destination_count ());
1926- }
1921+ assert (c->available (), " region %zu not empty: destination_count=%u" ,
1922+ cur_region, c->destination_count ());
19271923 }
19281924}
19291925#endif // #ifdef ASSERT
You can’t perform that action at this time.
0 commit comments