Path: blob/master/src/hotspot/share/gc/serial/vmStructs_serial.hpp
41152 views
/*1* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#ifndef SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP25#define SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP2627#include "gc/serial/serialHeap.hpp"28#include "gc/serial/tenuredGeneration.hpp"2930#define VM_STRUCTS_SERIALGC(nonstatic_field, \31volatile_nonstatic_field, \32static_field) \33nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \34nonstatic_field(TenuredGeneration, _the_space, ContiguousSpace*) \35\36nonstatic_field(DefNewGeneration, _old_gen, Generation*) \37nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \38nonstatic_field(DefNewGeneration, _age_table, AgeTable) \39nonstatic_field(DefNewGeneration, _eden_space, ContiguousSpace*) \40nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \41nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*)4243#define VM_TYPES_SERIALGC(declare_type, \44declare_toplevel_type, \45declare_integer_type) \46declare_type(SerialHeap, GenCollectedHeap) \47declare_type(TenuredGeneration, CardGeneration) \48declare_type(TenuredSpace, OffsetTableContigSpace) \49\50declare_type(DefNewGeneration, Generation) \51\52declare_toplevel_type(TenuredGeneration*)5354#define VM_INT_CONSTANTS_SERIALGC(declare_constant, \55declare_constant_with_value)5657#endif // SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP585960