Skip to content

Commit

Permalink
resolve conflicts openjdk#1
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Dec 1, 2023
1 parent 12c680a commit 4a28d0e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 145 deletions.
1 change: 0 additions & 1 deletion src/hotspot/share/gc/serial/generation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

class DefNewGeneration;
class GCMemoryManager;
class GenerationSpec;
class ContiguousSpace;
class CompactPoint;
class OopClosure;
Expand Down
16 changes: 0 additions & 16 deletions src/hotspot/share/gc/serial/serialHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ SerialHeap::SerialHeap() :
CollectedHeap(),
_young_gen(nullptr),
_old_gen(nullptr),
_young_gen_spec(new GenerationSpec(Generation::DefNew,
NewSize,
MaxNewSize,
GenAlignment)),
_old_gen_spec(new GenerationSpec(Generation::MarkSweepCompact,
OldSize,
MaxOldSize,
GenAlignment)),
_rem_set(nullptr),
_soft_ref_policy(),
_gc_policy_counters(new GCPolicyCounters("Copy:MSC", 2, 2)),
Expand Down Expand Up @@ -302,14 +294,6 @@ PreGenGCValues SerialHeap::get_pre_gc_values() const {
old_gen()->capacity());
}

GenerationSpec* SerialHeap::young_gen_spec() const {
return _young_gen_spec;
}

GenerationSpec* SerialHeap::old_gen_spec() const {
return _old_gen_spec;
}

size_t SerialHeap::capacity() const {
return _young_gen->capacity() + _old_gen->capacity();
}
Expand Down
7 changes: 0 additions & 7 deletions src/hotspot/share/gc/serial/serialHeap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

class CardTableRS;
class GCPolicyCounters;
class GenerationSpec;

class GCMemoryManager;
class MemoryPool;
Expand Down Expand Up @@ -86,9 +85,6 @@ class SerialHeap : public CollectedHeap {
TenuredGeneration* _old_gen;

private:
GenerationSpec* _young_gen_spec;
GenerationSpec* _old_gen_spec;

// The singleton CardTable Remembered Set.
CardTableRS* _rem_set;

Expand Down Expand Up @@ -159,9 +155,6 @@ class SerialHeap : public CollectedHeap {
MemRegion reserved_region() const { return _reserved; }
bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }

GenerationSpec* young_gen_spec() const;
GenerationSpec* old_gen_spec() const;

SoftRefPolicy* soft_ref_policy() override { return &_soft_ref_policy; }

// Performance Counter support
Expand Down
2 changes: 0 additions & 2 deletions src/hotspot/share/gc/serial/vmStructs_serial.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
\
nonstatic_field(SerialHeap, _young_gen, DefNewGeneration*) \
nonstatic_field(SerialHeap, _old_gen, TenuredGeneration*) \
nonstatic_field(SerialHeap, _young_gen_spec, GenerationSpec*) \
nonstatic_field(SerialHeap, _old_gen_spec, GenerationSpec*) \

#define VM_TYPES_SERIALGC(declare_type, \
declare_toplevel_type, \
Expand Down
49 changes: 0 additions & 49 deletions src/hotspot/share/gc/shared/generationSpec.cpp

This file was deleted.

63 changes: 0 additions & 63 deletions src/hotspot/share/gc/shared/generationSpec.hpp

This file was deleted.

7 changes: 0 additions & 7 deletions src/hotspot/share/gc/shared/vmStructs_gc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "gc/shared/ageTable.hpp"
#include "gc/shared/cardTable.hpp"
#include "gc/shared/collectedHeap.hpp"
#include "gc/shared/generationSpec.hpp"
#include "gc/shared/oopStorage.hpp"
#include "gc/shared/space.hpp"
#if INCLUDE_EPSILONGC
Expand Down Expand Up @@ -113,10 +112,6 @@
nonstatic_field(Generation::StatRecord, invocations, int) \
nonstatic_field(Generation::StatRecord, accumulated_time, elapsedTimer) \
\
nonstatic_field(GenerationSpec, _name, Generation::Name) \
nonstatic_field(GenerationSpec, _init_size, size_t) \
nonstatic_field(GenerationSpec, _max_size, size_t) \
\
nonstatic_field(MemRegion, _start, HeapWord*) \
nonstatic_field(MemRegion, _word_size, size_t) \
\
Expand Down Expand Up @@ -165,7 +160,6 @@
declare_toplevel_type(AgeTable) \
declare_toplevel_type(CardTable::CardValue) \
declare_toplevel_type(Generation::StatRecord) \
declare_toplevel_type(GenerationSpec) \
declare_toplevel_type(HeapWord) \
declare_toplevel_type(MemRegion) \
declare_toplevel_type(ThreadLocalAllocBuffer) \
Expand All @@ -182,7 +176,6 @@
declare_toplevel_type(ContiguousSpace*) \
declare_toplevel_type(DefNewGeneration*) \
declare_toplevel_type(Generation*) \
declare_toplevel_type(GenerationSpec**) \
declare_toplevel_type(HeapWord*) \
declare_toplevel_type(HeapWord* volatile) \
declare_toplevel_type(MemRegion*) \
Expand Down

0 comments on commit 4a28d0e

Please sign in to comment.