hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp
changeset 30150 d9c940aa42ef
parent 29792 8c6fa07f0869
child 30173 13cf7580b000
equal deleted inserted replaced
30149:c0f930abe5ed 30150:d9c940aa42ef
    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/psPromotionLAB.inline.hpp"
    30 #include "gc_implementation/parallelScavenge/psPromotionLAB.inline.hpp"
    31 #include "gc_implementation/parallelScavenge/psScavenge.hpp"
    31 #include "gc_implementation/parallelScavenge/psScavenge.hpp"
    32 #include "oops/oop.psgc.inline.hpp"
    32 #include "oops/oop.inline.hpp"
    33 
    33 
    34 inline PSPromotionManager* PSPromotionManager::manager_array(int index) {
    34 inline PSPromotionManager* PSPromotionManager::manager_array(int index) {
    35   assert(_manager_array != NULL, "access of NULL manager_array");
    35   assert(_manager_array != NULL, "access of NULL manager_array");
    36   assert(index >= 0 && index <= (int)ParallelGCThreads, "out of range manager_array access");
    36   assert(index >= 0 && index <= (int)ParallelGCThreads, "out of range manager_array access");
    37   return &_manager_array[index];
    37   return &_manager_array[index];
    90     }
    90     }
    91   }
    91   }
    92 }
    92 }
    93 
    93 
    94 inline void PSPromotionManager::push_contents(oop obj) {
    94 inline void PSPromotionManager::push_contents(oop obj) {
    95   obj->push_contents(this);
    95   obj->ps_push_contents(this);
    96 }
    96 }
    97 //
    97 //
    98 // This method is pretty bulky. It would be nice to split it up
    98 // This method is pretty bulky. It would be nice to split it up
    99 // into smaller submethods, but we need to be careful not to hurt
    99 // into smaller submethods, but we need to be careful not to hurt
   100 // performance.
   100 // performance.