Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Jan 14, 2024
1 parent ed54e31 commit c0e47a0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/hotspot/share/gc/serial/serialHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ SerialHeap* SerialHeap::heap() {
}

SerialHeap::SerialHeap() :
CollectedHeap(),
_young_gen(nullptr),
_old_gen(nullptr),
_rem_set(nullptr),
_soft_ref_policy(),
_gc_policy_counters(new GCPolicyCounters("Copy:MSC", 2, 2)),
_incremental_collection_failed(false),
_full_collections_completed(0),
_young_manager(nullptr),
_old_manager(nullptr),
_eden_pool(nullptr),
_survivor_pool(nullptr),
_old_pool(nullptr) {
CollectedHeap(),
_young_gen(nullptr),
_old_gen(nullptr),
_rem_set(nullptr),
_soft_ref_policy(),
_gc_policy_counters(new GCPolicyCounters("Copy:MSC", 2, 2)),
_incremental_collection_failed(false),
_full_collections_completed(0),
_young_manager(nullptr),
_old_manager(nullptr),
_eden_pool(nullptr),
_survivor_pool(nullptr),
_old_pool(nullptr) {
_young_manager = new GCMemoryManager("Copy");
_old_manager = new GCMemoryManager("MarkSweepCompact");
}
Expand Down

0 comments on commit c0e47a0

Please sign in to comment.