Skip to content

Commit c9d1dcc

Browse files
author
Thomas Schatzl
committed
8253902: G1: Starting a new marking cycle before the conc mark thread fully completed causes assertion failure
Reviewed-by: kbarrett, sjohanss
1 parent 9199783 commit c9d1dcc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ void G1ConcurrentMarkThread::stop_service() {
164164
}
165165

166166
bool G1ConcurrentMarkThread::wait_for_next_cycle() {
167-
assert(!in_progress(), "should have been cleared");
168-
169167
MonitorLocker ml(CGC_lock, Mutex::_no_safepoint_check_flag);
170168
while (!in_progress() && !should_terminate()) {
171169
ml.wait();

0 commit comments

Comments
 (0)