< prev index next >
src/hotspot/share/gc/z/zCollectorPolicy.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2015, 2018, 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) 2015, 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.
*** 24,31 ****
#include "precompiled.hpp"
#include "gc/z/zCollectorPolicy.hpp"
#include "gc/z/zGlobals.hpp"
void ZCollectorPolicy::initialize_alignments() {
! _space_alignment = ZPageSizeMin;
_heap_alignment = _space_alignment;
}
--- 24,31 ----
#include "precompiled.hpp"
#include "gc/z/zCollectorPolicy.hpp"
#include "gc/z/zGlobals.hpp"
void ZCollectorPolicy::initialize_alignments() {
! _space_alignment = ZGranuleSize;
_heap_alignment = _space_alignment;
}
< prev index next >