src/share/vm/gc_implementation/g1/vmStructs_g1.hpp

changeset 3457
0b3d1ec6eaee
parent 3182
65a8ff39a6da
child 3713
720b6a76dd9d
     1.1 --- a/src/share/vm/gc_implementation/g1/vmStructs_g1.hpp	Mon Jan 16 22:10:05 2012 +0100
     1.2 +++ b/src/share/vm/gc_implementation/g1/vmStructs_g1.hpp	Wed Jan 18 10:30:12 2012 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -40,6 +40,8 @@
    1.11    nonstatic_field(G1CollectedHeap, _g1_committed,       MemRegion)            \
    1.12    nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t)               \
    1.13    nonstatic_field(G1CollectedHeap, _g1mm,               G1MonitoringSupport*) \
    1.14 +  nonstatic_field(G1CollectedHeap, _old_set,            HeapRegionSetBase)    \
    1.15 +  nonstatic_field(G1CollectedHeap, _humongous_set,      HeapRegionSetBase)    \
    1.16                                                                                \
    1.17    nonstatic_field(G1MonitoringSupport, _eden_committed,     size_t)           \
    1.18    nonstatic_field(G1MonitoringSupport, _eden_used,          size_t)           \
    1.19 @@ -47,6 +49,10 @@
    1.20    nonstatic_field(G1MonitoringSupport, _survivor_used,      size_t)           \
    1.21    nonstatic_field(G1MonitoringSupport, _old_committed,      size_t)           \
    1.22    nonstatic_field(G1MonitoringSupport, _old_used,           size_t)           \
    1.23 +                                                                              \
    1.24 +  nonstatic_field(HeapRegionSetBase,   _length,             size_t)           \
    1.25 +  nonstatic_field(HeapRegionSetBase,   _region_num,         size_t)           \
    1.26 +  nonstatic_field(HeapRegionSetBase,   _total_used_bytes,   size_t)           \
    1.27  
    1.28  
    1.29  #define VM_TYPES_G1(declare_type, declare_toplevel_type)                      \
    1.30 @@ -55,6 +61,7 @@
    1.31                                                                                \
    1.32    declare_type(HeapRegion, ContiguousSpace)                                   \
    1.33    declare_toplevel_type(HeapRegionSeq)                                        \
    1.34 +  declare_toplevel_type(HeapRegionSetBase)                                    \
    1.35    declare_toplevel_type(G1MonitoringSupport)                                  \
    1.36                                                                                \
    1.37    declare_toplevel_type(G1CollectedHeap*)                                     \

mercurial