Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing committed Apr 20, 2024
1 parent 4fe5bad commit cae3efd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/cds/archiveHeapWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void ArchiveHeapWriter::init() {
_source_objs = new GrowableArrayCHeap<oop, mtClassShared>(10000);

guarantee(UseG1GC, "implementation limitation");
guarantee(MIN_GC_REGION_ALIGNMENT <= /*G1*/G1HeapRegion::min_region_size_in_words() * HeapWordSize, "must be");
guarantee(MIN_GC_REGION_ALIGNMENT <= G1HeapRegion::min_region_size_in_words() * HeapWordSize, "must be");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1ConcurrentMark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ class G1CMTask : public TerminatorTerminator {
G1CMOopClosure* _cm_oop_closure;

// Region this task is scanning, null if we're not scanning any
G1HeapRegion* _curr_region;
G1HeapRegion* _curr_region;
// Local finger of this task, null if we're not scanning a region
HeapWord* _finger;
// Limit of the region this task is scanning, null if we're not scanning one
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/gc/g1/g1ConcurrentMarkBitMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
class G1CMBitMap;
class G1CMTask;
class G1ConcurrentMark;
class G1HeapRegion;

// Closure for iteration over bitmaps
class G1CMBitMapClosure {
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PreservedMarks;
class G1FullGCCompactionPoint : public CHeapObj<mtGC> {
G1FullCollector* _collector;
G1HeapRegion* _current_region;
HeapWord* _compaction_top;
HeapWord* _compaction_top;
PreservedMarks* _preserved_stack;
GrowableArray<G1HeapRegion*>* _compaction_regions;
GrowableArrayIterator<G1HeapRegion*> _compaction_region_iterator;
Expand Down
1 change: 0 additions & 1 deletion src/hotspot/share/gc/g1/g1OopClosures.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "memory/iterator.hpp"
#include "oops/markWord.hpp"

class G1HeapRegion;
class G1CollectedHeap;
class G1RemSet;
class G1ConcurrentMark;
Expand Down

0 comments on commit cae3efd

Please sign in to comment.