Skip to content

Commit

Permalink
Summary: Fix debug build failure
Browse files Browse the repository at this point in the history
Test Plan: existing test cases

Reviewed-by: shiyue

Issue: dragonwell-project/dragonwell8#52
  • Loading branch information
D-D-H committed Sep 18, 2019
1 parent eb3bc69 commit b0fb410
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/share/vm/classfile/classLoaderData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,9 @@ 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
Expand Down

0 comments on commit b0fb410

Please sign in to comment.