< prev index next >
src/share/vm/gc/shenandoah/shenandoahConnectionMatrix.cpp
Print this page
rev 13072 : Various fixes and improvements for partial GC.
*** 56,65 ****
--- 56,71 ----
set_connected(i, idx, false);
set_connected(idx, i, false);
}
}
+ void ShenandoahConnectionMatrix::clear_region_outbound(uint idx) {
+ for (uint i = 0; i < _stride; i++) {
+ set_connected(idx, i, false);
+ }
+ }
+
void ShenandoahConnectionMatrix::clear_all() {
size_t count = sizeof(char) * _stride * _stride;
Copy::fill_to_bytes(_matrix, count, 0);
}
< prev index next >