hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
equal
deleted
inserted
replaced
26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_INLINE_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_INLINE_HPP |
27 |
27 |
28 #include "gc_implementation/parallelScavenge/psOldGen.hpp" |
28 #include "gc_implementation/parallelScavenge/psOldGen.hpp" |
29 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" |
29 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" |
30 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
30 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
|
31 #include "oops/oop.psgc.inline.hpp" |
31 |
32 |
32 inline PSPromotionManager* PSPromotionManager::manager_array(int index) { |
33 inline PSPromotionManager* PSPromotionManager::manager_array(int index) { |
33 assert(_manager_array != NULL, "access of NULL manager_array"); |
34 assert(_manager_array != NULL, "access of NULL manager_array"); |
34 assert(index >= 0 && index <= (int)ParallelGCThreads, "out of range manager_array access"); |
35 assert(index >= 0 && index <= (int)ParallelGCThreads, "out of range manager_array access"); |
35 return _manager_array[index]; |
36 return _manager_array[index]; |