Skip to content

Commit 5a7f22a

Browse files
casparcwangDamonFool
casparcwang
authored andcommitted
8263579: ZGC: Concurrent mark hangs with debug loglevel
Reviewed-by: pliden, ayang, eosterlund
1 parent 35cd945 commit 5a7f22a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hotspot/share/gc/z/zMark.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -63,7 +63,6 @@
6363

6464
static const ZStatSubPhase ZSubPhaseConcurrentMark("Concurrent Mark");
6565
static const ZStatSubPhase ZSubPhaseConcurrentMarkTryFlush("Concurrent Mark Try Flush");
66-
static const ZStatSubPhase ZSubPhaseConcurrentMarkIdle("Concurrent Mark Idle");
6766
static const ZStatSubPhase ZSubPhaseConcurrentMarkTryTerminate("Concurrent Mark Try Terminate");
6867
static const ZStatSubPhase ZSubPhaseMarkTryComplete("Pause Mark Try Complete");
6968

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

380379
void ZMark::idle() const {
381-
ZStatTimer timer(ZSubPhaseConcurrentMarkIdle);
382380
os::naked_short_sleep(1);
383381
}
384382

0 commit comments

Comments
 (0)