mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8073543: Circular include dependency between psScavenge.inline.hpp and psPromotionManager.inline.hpp
Reviewed-by: brutisso, mgerdin
This commit is contained in:
parent
5cc358251f
commit
cd997db44d
11 changed files with 58 additions and 51 deletions
|
@ -66,6 +66,15 @@ void PSPromotionManager::initialize() {
|
|||
// for work stealing.
|
||||
}
|
||||
|
||||
// Helper functions to get around the circular dependency between
|
||||
// psScavenge.inline.hpp and psPromotionManager.inline.hpp.
|
||||
bool PSPromotionManager::should_scavenge(oop* p, bool check_to_space) {
|
||||
return PSScavenge::should_scavenge(p, check_to_space);
|
||||
}
|
||||
bool PSPromotionManager::should_scavenge(narrowOop* p, bool check_to_space) {
|
||||
return PSScavenge::should_scavenge(p, check_to_space);
|
||||
}
|
||||
|
||||
PSPromotionManager* PSPromotionManager::gc_thread_promotion_manager(int index) {
|
||||
assert(index >= 0 && index < (int)ParallelGCThreads, "index out of range");
|
||||
assert(_manager_array != NULL, "Sanity");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue