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 #ifndef SHARE_GC_Z_ZCOLLECTEDHEAP_HPP
25 #define SHARE_GC_Z_ZCOLLECTEDHEAP_HPP
26
27 #include "gc/shared/collectedHeap.hpp"
28 #include "gc/shared/softRefPolicy.hpp"
29 #include "gc/z/zBarrierSet.hpp"
30 #include "gc/z/zHeap.hpp"
31 #include "gc/z/zInitialize.hpp"
32 #include "gc/z/zRuntimeWorkers.hpp"
33
34 class ZDirector;
35 class ZDriver;
36 class ZStat;
37
38 class ZCollectedHeap : public CollectedHeap {
39 friend class VMStructs;
40
41 private:
42 SoftRefPolicy _soft_ref_policy;
43 ZBarrierSet _barrier_set;
44 ZInitialize _initialize;
45 ZHeap _heap;
46 ZDirector* _director;
47 ZDriver* _driver;
48 ZStat* _stat;
49 ZRuntimeWorkers _runtime_workers;
50
51 virtual HeapWord* allocate_new_tlab(size_t min_size,
52 size_t requested_size,
|
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 #ifndef SHARE_GC_Z_ZCOLLECTEDHEAP_HPP
25 #define SHARE_GC_Z_ZCOLLECTEDHEAP_HPP
26
27 #include "gc/shared/collectedHeap.hpp"
28 #include "gc/shared/softRefPolicy.hpp"
29 #include "gc/z/zBarrierSet.hpp"
30 #include "gc/z/zHeap.hpp"
31 #include "gc/z/zInitialize.hpp"
32 #include "gc/z/zRuntimeWorkers.hpp"
33 #include "memory/metaspace.hpp"
34
35 class ZDirector;
36 class ZDriver;
37 class ZStat;
38
39 class ZCollectedHeap : public CollectedHeap {
40 friend class VMStructs;
41
42 private:
43 SoftRefPolicy _soft_ref_policy;
44 ZBarrierSet _barrier_set;
45 ZInitialize _initialize;
46 ZHeap _heap;
47 ZDirector* _director;
48 ZDriver* _driver;
49 ZStat* _stat;
50 ZRuntimeWorkers _runtime_workers;
51
52 virtual HeapWord* allocate_new_tlab(size_t min_size,
53 size_t requested_size,
|