< prev index next >
src/hotspot/share/gc/parallel/psYoungGen.hpp
Print this page
rev 57719 : imported patch 8235860-remove-serial-old-gc
*** 1,7 ****
/*
! * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 29,40 ****
#include "gc/parallel/objectStartArray.hpp"
#include "gc/parallel/psGenerationCounters.hpp"
#include "gc/parallel/psVirtualspace.hpp"
#include "gc/parallel/spaceCounters.hpp"
- class PSMarkSweepDecorator;
-
class PSYoungGen : public CHeapObj<mtGC> {
friend class VMStructs;
friend class ParallelScavengeHeap;
friend class AdjoiningGenerations;
--- 29,38 ----
*** 45,60 ****
// Spaces
MutableSpace* _eden_space;
MutableSpace* _from_space;
MutableSpace* _to_space;
-
- // MarkSweep Decorators
- PSMarkSweepDecorator* _eden_mark_sweep;
- PSMarkSweepDecorator* _from_mark_sweep;
- PSMarkSweepDecorator* _to_mark_sweep;
-
// Sizing information, in bytes, set in constructor
const size_t _init_gen_size;
const size_t _min_gen_size;
const size_t _max_gen_size;
--- 43,52 ----
*** 116,136 ****
PSVirtualSpace* virtual_space() const { return _virtual_space; }
// For Adaptive size policy
size_t min_gen_size() { return _min_gen_size; }
- // MarkSweep support
- PSMarkSweepDecorator* eden_mark_sweep() const { return _eden_mark_sweep; }
- PSMarkSweepDecorator* from_mark_sweep() const { return _from_mark_sweep; }
- PSMarkSweepDecorator* to_mark_sweep() const { return _to_mark_sweep; }
-
- #if INCLUDE_SERIALGC
- void precompact();
- void adjust_pointers();
- void compact();
- #endif
-
// Called during/after GC
void swap_spaces();
// Resize generation using suggested free space size and survivor size
// NOTE: "eden_size" and "survivor_size" are suggestions only. Current
--- 108,117 ----
< prev index next >