Skip to content

Commit

Permalink
Fix signature of PSPromotionManager::process_array_chunk_work()
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Jul 3, 2024
1 parent bba03f0 commit 74f1fd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/parallel/psPromotionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void PSPromotionManager::flush_labs() {
}

template <class T> void PSPromotionManager::process_array_chunk_work(
oop obj,
objArrayOop obj,
int start, int end) {
assert(start <= end, "invariant");
T* const base = (T*)objArrayOop(obj)->base();
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 @@ -101,7 +101,7 @@ class PSPromotionManager {

inline static PSPromotionManager* manager_array(uint index);

template <class T> void process_array_chunk_work(oop obj,
template <class T> void process_array_chunk_work(objArrayOop obj,
int start, int end);
void process_array_chunk(ArraySliceTask task);

Expand Down

0 comments on commit 74f1fd9

Please sign in to comment.