Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Dec 8, 2023
1 parent fef7f8a commit e6d7dfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/share/gc/serial/serialHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include "gc/serial/genMarkSweep.hpp"
#include "gc/serial/markSweep.hpp"
#include "gc/shared/cardTableBarrierSet.hpp"
#include "gc/shared/classUnloadingContext.hpp"
#include "gc/shared/collectedHeap.inline.hpp"
#include "gc/shared/collectorCounters.hpp"
#include "gc/shared/continuationGCSupport.inline.hpp"
Expand Down Expand Up @@ -621,6 +622,9 @@ void SerialHeap::do_collection(bool full,

CodeCache::on_gc_marking_cycle_start();

ClassUnloadingContext ctx(1 /* num_nmethod_unlink_workers */,
false /* lock_codeblob_free_separately */);

collect_generation(_old_gen,
full,
size,
Expand Down

0 comments on commit e6d7dfe

Please sign in to comment.