< prev index next >

src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp

Print this page




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
  26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "utilities/stack.hpp"
  30 #include "utilities/taskqueue.hpp"
  31 
  32 // Move to some global location
  33 #define HAS_BEEN_MOVED 0x1501d01d
  34 // End move to some global location
  35 
  36 
  37 class MutableSpace;
  38 class PSOldGen;
  39 class ParCompactionManager;
  40 class ObjectStartArray;
  41 class ParallelCompactData;
  42 class ParMarkBitMap;
  43 
  44 class ParCompactionManager : public CHeapObj<mtGC> {
  45   friend class ParallelTaskTerminator;
  46   friend class ParMarkBitMap;
  47   friend class PSParallelCompact;
  48   friend class StealRegionCompactionTask;
  49   friend class UpdateAndFillClosure;
  50   friend class RefProcTaskExecutor;
  51   friend class IdleGCTask;
  52 
  53  public:
  54 
  55 // ------------------------  Don't putback if not needed
  56   // Actions that the compaction manager should take.




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
  26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSCOMPACTIONMANAGER_HPP
  27 
  28 #include "memory/allocation.hpp"
  29 #include "utilities/stack.hpp"
  30 #include "utilities/taskqueue.hpp"
  31 





  32 class MutableSpace;
  33 class PSOldGen;
  34 class ParCompactionManager;
  35 class ObjectStartArray;
  36 class ParallelCompactData;
  37 class ParMarkBitMap;
  38 
  39 class ParCompactionManager : public CHeapObj<mtGC> {
  40   friend class ParallelTaskTerminator;
  41   friend class ParMarkBitMap;
  42   friend class PSParallelCompact;
  43   friend class StealRegionCompactionTask;
  44   friend class UpdateAndFillClosure;
  45   friend class RefProcTaskExecutor;
  46   friend class IdleGCTask;
  47 
  48  public:
  49 
  50 // ------------------------  Don't putback if not needed
  51   // Actions that the compaction manager should take.


< prev index next >