Skip to content

Commit

Permalink
8263579: ZGC: Concurrent mark hangs with debug loglevel
Browse files Browse the repository at this point in the history
Reviewed-by: pliden, ayang, eosterlund
  • Loading branch information
casparcwang authored and DamonFool committed Mar 22, 2021
1 parent 35cd945 commit 5a7f22a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/hotspot/share/gc/z/zMark.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -63,7 +63,6 @@

static const ZStatSubPhase ZSubPhaseConcurrentMark("Concurrent Mark");
static const ZStatSubPhase ZSubPhaseConcurrentMarkTryFlush("Concurrent Mark Try Flush");
static const ZStatSubPhase ZSubPhaseConcurrentMarkIdle("Concurrent Mark Idle");
static const ZStatSubPhase ZSubPhaseConcurrentMarkTryTerminate("Concurrent Mark Try Terminate");
static const ZStatSubPhase ZSubPhaseMarkTryComplete("Pause Mark Try Complete");

Expand Down Expand Up @@ -378,7 +377,6 @@ bool ZMark::try_steal(ZMarkStripe* stripe, ZMarkThreadLocalStacks* stacks) {
}

void ZMark::idle() const {
ZStatTimer timer(ZSubPhaseConcurrentMarkIdle);
os::naked_short_sleep(1);
}

Expand Down

0 comments on commit 5a7f22a

Please sign in to comment.