From 6c5b22b2bc10cc9893c25a6051ca075f3beae07a Mon Sep 17 00:00:00 2001 From: Denghui Dong Date: Wed, 15 Jul 2020 19:10:34 +0800 Subject: [PATCH] Revert "Summary: Fix debug build failure" This reverts commit e8704b9226ee0cddbe42caaefba6a7ec7d079028. --- src/share/vm/classfile/classLoaderData.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/share/vm/classfile/classLoaderData.cpp b/src/share/vm/classfile/classLoaderData.cpp index 99e5723e0..f2ed60b32 100644 --- a/src/share/vm/classfile/classLoaderData.cpp +++ b/src/share/vm/classfile/classLoaderData.cpp @@ -650,9 +650,7 @@ void ClassLoaderDataGraph::cld_do(CLDClosure* cl) { void ClassLoaderDataGraph::cld_unloading_do(CLDClosure* cl) { // this method is only used by jfr now, if you need to use this method in another case, // this check should be removed. -#if INCLUDE_TRACE assert(EnableJFR && FlightRecorder, "just check"); -#endif assert(SafepointSynchronize::is_at_safepoint(), "must be at safepoint!"); // Only walk the head until any clds not purged from prior unloading -- GitLab