Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Jul 4, 2024
1 parent c86b37f commit f7febf9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/g1/g1CollectedHeap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ReferenceProcessor;
class STWGCTimer;
class WorkerThreads;

typedef OverflowTaskQueue<ArraySliceTask, mtGC> G1ScannerTasksQueue;
typedef OverflowTaskQueue<ArraySliceTask, mtGC> G1ScannerTasksQueue;
typedef GenericTaskQueueSet<G1ScannerTasksQueue, mtGC> G1ScannerTasksQueueSet;

typedef int RegionIdx_t; // needs to hold [ 0..max_reserved_regions() )
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 @@ -52,7 +52,7 @@ class G1RegionToSpaceMapper;
class G1SurvivorRegions;
class ThreadClosure;

typedef GenericTaskQueue<ArraySliceTask, mtGC> G1CMTaskQueue;
typedef GenericTaskQueue<ArraySliceTask, mtGC> G1CMTaskQueue;
typedef GenericTaskQueueSet<G1CMTaskQueue, mtGC> G1CMTaskQueueSet;

// Closure used by CM during concurrent reference discovery
Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/share/gc/g1/g1ConcurrentMarkObjArrayProcessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@

class G1CMTask;

// Helper class to mark through large objArrays during marking in an efficient way.
// Instead of pushing large object arrays, we push continuations onto the
// mark stack. These continuations are identified by having their LSB set.
// This allows incremental processing of large objects.
class G1CMObjArrayProcessor : public ArraySlicer {
private:
// Reference to the task for doing the actual work.
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/parallel/psPromotionManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PSPromotionManager {
friend class ParallelGCArraySlicer;

private:
typedef OverflowTaskQueue<ArraySliceTask, mtGC> PSScannerTasksQueue;
typedef OverflowTaskQueue<ArraySliceTask, mtGC> PSScannerTasksQueue;
typedef GenericTaskQueueSet<PSScannerTasksQueue, mtGC> PSScannerTasksQueueSet;

static PaddedEnd<PSPromotionManager>* _manager_array;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include "runtime/prefetch.inline.hpp"
#include "utilities/copy.hpp"


inline PSPromotionManager* PSPromotionManager::manager_array(uint index) {
assert(_manager_array != nullptr, "access of null manager_array");
assert(index < ParallelGCThreads, "out of range manager_array access");
Expand Down

0 comments on commit f7febf9

Please sign in to comment.