changeset 53348 | 331ba84b1e36 |
parent 53244 | 9807daeb47c4 |
child 53985 | 0da5c17f5e43 |
--- a/src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp Wed Jan 16 07:01:04 2019 -0500 +++ b/src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp Wed Jan 09 19:05:05 2019 -0500 @@ -210,6 +210,12 @@ task(worker_id)->update_liveness(obj, size); } +inline void G1CMTask::abort_marking_if_regular_check_fail() { + if (!regular_clock_call()) { + set_has_aborted(); + } +} + inline bool G1CMTask::make_reference_grey(oop obj) { if (!_cm->mark_in_next_bitmap(_worker_id, obj)) { return false;