We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 685fc3c commit 18dd4d4Copy full SHA for 18dd4d4
src/hotspot/share/gc/z/zStat.cpp
@@ -760,8 +760,10 @@ ZStatCriticalPhase::ZStatCriticalPhase(const char* name, bool verbose) :
760
_verbose(verbose) {}
761
762
void ZStatCriticalPhase::register_start(const Ticks& start) const {
763
- LogTarget(Debug, gc, start) log;
764
- log_start(log, true /* thread */);
+ // This is called from sensitive contexts, for example before an allocation stall
+ // has been resolved. This means we must not access any oops in here since that
765
+ // could lead to infinite recursion. Without access to the thread name we can't
766
+ // really log anything useful here.
767
}
768
769
void ZStatCriticalPhase::register_end(const Ticks& start, const Ticks& end) const {
0 commit comments