src/hotspot/share/gc/serial/vmStructs_serial.hpp
author stefank
Tue, 10 Apr 2018 12:15:07 +0200
changeset 49730 c2761ef9fd95
child 49982 9042ffe5b7fe
permissions -rw-r--r--
8200759: Move GC entries in vmStructs.cpp to GC specific files Reviewed-by: sjohanss, shade
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49730
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     1
/*
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     2
 * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     4
 *
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     7
 * published by the Free Software Foundation.
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     8
 *
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    13
 * accompanied this code).
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    14
 *
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    18
 *
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    21
 * questions.
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    22
 *
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    23
 */
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    24
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    25
#ifndef SHARE_GC_SERIAL_VMSTRUCTS_HPP
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    26
#define SHARE_GC_SERIAL_VMSTRUCTS_HPP
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    27
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    28
#include "gc/serial/serialHeap.hpp"
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    29
#include "gc/serial/tenuredGeneration.hpp"
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    30
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    31
#define VM_STRUCTS_SERIALGC(nonstatic_field,                                  \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    32
                            volatile_nonstatic_field,                         \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    33
                            static_field)                                     \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    34
  nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t)           \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    35
  nonstatic_field(TenuredGeneration, _the_space,            ContiguousSpace*)
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    36
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    37
#define VM_TYPES_SERIALGC(declare_type,                                       \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    38
                          declare_toplevel_type,                              \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    39
                          declare_integer_type)                               \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    40
  declare_type(SerialHeap,                   GenCollectedHeap)                \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    41
  declare_type(TenuredGeneration,            CardGeneration)                  \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    42
  declare_type(TenuredSpace,                 OffsetTableContigSpace)          \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    43
                                                                              \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    44
  declare_toplevel_type(TenuredGeneration*)
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    45
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    46
#define VM_INT_CONSTANTS_SERIALGC(declare_constant,                           \
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    47
                                  declare_constant_with_value)
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    48
c2761ef9fd95 8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff changeset
    49
#endif // SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP