src/hotspot/share/gc/g1/g1ConcurrentRefine.hpp
author tschatzl
Thu, 27 Jun 2019 11:48:32 +0200
changeset 55510 3e31a8beaae4
parent 53747 13acc8e38a29
child 57953 d78c910f9069
permissions -rw-r--r--
8213108: Improve work distribution during remembered set scan Summary: Before scanning the heap for roots into the collection set, merge them into a single remembered set (card table) and do work distribution based on location like other collectors do. Reviewed-by: kbarrett, lkorinth
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     1
/*
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 49392
diff changeset
     2
 * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     4
 *
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     7
 * published by the Free Software Foundation.
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     8
 *
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    13
 * accompanied this code).
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    14
 *
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    18
 *
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5033
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5033
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 5033
diff changeset
    21
 * questions.
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    22
 *
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    23
 */
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    24
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 49392
diff changeset
    25
#ifndef SHARE_GC_G1_G1CONCURRENTREFINE_HPP
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 49392
diff changeset
    26
#define SHARE_GC_G1_G1CONCURRENTREFINE_HPP
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 6247
diff changeset
    27
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 6247
diff changeset
    28
#include "memory/allocation.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 6247
diff changeset
    29
#include "utilities/globalDefinitions.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 6247
diff changeset
    30
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    31
// Forward decl
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    32
class G1ConcurrentRefine;
47789
a77a7d3bc4f6 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
tschatzl
parents: 47216
diff changeset
    33
class G1ConcurrentRefineThread;
38172
90f405aac699 8155524: HotCardCache shouldn't be part of ConcurrentG1Refine
kbarrett
parents: 37510
diff changeset
    34
class outputStream;
90f405aac699 8155524: HotCardCache shouldn't be part of ConcurrentG1Refine
kbarrett
parents: 37510
diff changeset
    35
class ThreadClosure;
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
    36
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    37
// Helper class for refinement thread management. Used to start, stop and
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    38
// iterate over them.
49392
2956d0ece7a9 8199282: Remove ValueObj class for allocation subclassing for gc code
coleenp
parents: 48103
diff changeset
    39
class G1ConcurrentRefineThreadControl {
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    40
  G1ConcurrentRefine* _cr;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    41
47789
a77a7d3bc4f6 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
tschatzl
parents: 47216
diff changeset
    42
  G1ConcurrentRefineThread** _threads;
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    43
  uint _num_max_threads;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    44
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    45
  // Create the refinement thread for the given worker id.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    46
  // If initializing is true, ignore InjectGCWorkerCreationFailure.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    47
  G1ConcurrentRefineThread* create_refinement_thread(uint worker_id, bool initializing);
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    48
public:
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    49
  G1ConcurrentRefineThreadControl();
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    50
  ~G1ConcurrentRefineThreadControl();
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    51
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    52
  jint initialize(G1ConcurrentRefine* cr, uint num_max_threads);
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    53
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    54
  // If there is a "successor" thread that can be activated given the current id,
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    55
  // activate it.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    56
  void maybe_activate_next(uint cur_worker_id);
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    57
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    58
  void print_on(outputStream* st) const;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    59
  void worker_threads_do(ThreadClosure* tc);
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    60
  void stop();
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    61
};
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    62
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    63
// Controls refinement threads and their activation based on the number of completed
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    64
// buffers currently available in the global dirty card queue.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    65
// Refinement threads pick work from the queue based on these thresholds. They are activated
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    66
// gradually based on the amount of work to do.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    67
// Refinement thread n activates thread n+1 if the instance of this class determines there
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    68
// is enough work available. Threads deactivate themselves if the current amount of
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    69
// completed buffers falls below their individual threshold.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    70
class G1ConcurrentRefine : public CHeapObj<mtGC> {
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    71
  G1ConcurrentRefineThreadControl _thread_control;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    72
  /*
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    73
   * The value of the completed dirty card queue length falls into one of 3 zones:
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    74
   * green, yellow, red. If the value is in [0, green) nothing is
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    75
   * done, the buffers are left unprocessed to enable the caching effect of the
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    76
   * dirtied cards. In the yellow zone [green, yellow) the concurrent refinement
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    77
   * threads are gradually activated. In [yellow, red) all threads are
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    78
   * running. If the length becomes red (max queue length) the mutators start
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    79
   * processing the buffers.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    80
   *
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    81
   * There are some interesting cases (when G1UseAdaptiveConcRefinement
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    82
   * is turned off):
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    83
   * 1) green = yellow = red = 0. In this case the mutator will process all
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    84
   *    buffers. Except for those that are created by the deferred updates
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    85
   *    machinery during a collection.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    86
   * 2) green = 0. Means no caching. Can be a good way to minimize the
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    87
   *    amount of time spent updating remembered sets during a collection.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
    88
   */
36371
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
    89
  size_t _green_zone;
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
    90
  size_t _yellow_zone;
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
    91
  size_t _red_zone;
37510
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
    92
  size_t _min_yellow_zone_size;
37158
b882bbfa1af0 8152101: Move G1 concurrent refinement adjustment code out of G1CollectorPolicy
mgerdin
parents: 36371
diff changeset
    93
47789
a77a7d3bc4f6 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
tschatzl
parents: 47216
diff changeset
    94
  G1ConcurrentRefine(size_t green_zone,
37510
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
    95
                     size_t yellow_zone,
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
    96
                     size_t red_zone,
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
    97
                     size_t min_yellow_zone_size);
3590
a268fa66d7fb 6819077: G1: first GC thread coming late into the GC.
johnc
parents: 3589
diff changeset
    98
37510
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
    99
  // Update green/yellow/red zone values based on how well goals are being met.
55510
3e31a8beaae4 8213108: Improve work distribution during remembered set scan
tschatzl
parents: 53747
diff changeset
   100
  void update_zones(double log_buffer_scan_time,
3e31a8beaae4 8213108: Improve work distribution during remembered set scan
tschatzl
parents: 53747
diff changeset
   101
                    size_t processed_log_buffers,
37510
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
   102
                    double goal_ms);
cf066fe4531b 8133051: Concurrent refinement threads may be activated and deactivated at random
kbarrett
parents: 37158
diff changeset
   103
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   104
  static uint worker_id_offset();
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   105
  void maybe_activate_more_threads(uint worker_id, size_t num_cur_buffers);
32738
a1adf25202fd 8135025: Error message is repeated for large value at G1ConcRefinementThreads
sangheki
parents: 30764
diff changeset
   106
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   107
  jint initialize();
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   108
public:
47789
a77a7d3bc4f6 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
tschatzl
parents: 47216
diff changeset
   109
  ~G1ConcurrentRefine();
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
   110
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   111
  // Returns a G1ConcurrentRefine instance if succeeded to create/initialize the
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   112
  // G1ConcurrentRefine instance. Otherwise, returns NULL with error code.
47789
a77a7d3bc4f6 8149127: Rename g1/concurrentMarkThread.* to g1/g1ConcurrentMarkThread.*
tschatzl
parents: 47216
diff changeset
   113
  static G1ConcurrentRefine* create(jint* ecode);
32738
a1adf25202fd 8135025: Error message is repeated for large value at G1ConcRefinementThreads
sangheki
parents: 30764
diff changeset
   114
2881
74a1337e4acc 6484957: G1: parallel concurrent refinement
iveresov
parents: 2105
diff changeset
   115
  void stop();
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
   116
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   117
  // Adjust refinement thresholds based on work done during the pause and the goal time.
55510
3e31a8beaae4 8213108: Improve work distribution during remembered set scan
tschatzl
parents: 53747
diff changeset
   118
  void adjust(double log_buffer_scan_time, size_t processed_log_buffers, double goal_ms);
4481
de92ec484f5e 6862387: tune concurrent refinement further
iveresov
parents: 4022
diff changeset
   119
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   120
  size_t activation_threshold(uint worker_id) const;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   121
  size_t deactivation_threshold(uint worker_id) const;
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   122
  // Perform a single refinement step. Called by the refinement threads when woken up.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   123
  bool do_refinement_step(uint worker_id);
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   124
47790
4925ee84b4ac 8140255: Move the management of G1YoungRemSetSamplingThread from G1ConcurrentRefine
tschatzl
parents: 47789
diff changeset
   125
  // Iterate over all concurrent refinement threads applying the given closure.
2881
74a1337e4acc 6484957: G1: parallel concurrent refinement
iveresov
parents: 2105
diff changeset
   126
  void threads_do(ThreadClosure *tc);
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
   127
48103
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   128
  // Maximum number of refinement threads.
26dbe08d1c17 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
tschatzl
parents: 47790
diff changeset
   129
  static uint max_num_threads();
4022
2ec87d5043f7 6885041: G1: inconsistent thread dump
tonyp
parents: 3590
diff changeset
   130
47790
4925ee84b4ac 8140255: Move the management of G1YoungRemSetSamplingThread from G1ConcurrentRefine
tschatzl
parents: 47789
diff changeset
   131
  void print_threads_on(outputStream* st) const;
4481
de92ec484f5e 6862387: tune concurrent refinement further
iveresov
parents: 4022
diff changeset
   132
36371
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
   133
  size_t green_zone() const      { return _green_zone;  }
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
   134
  size_t yellow_zone() const     { return _yellow_zone; }
fd81a4f0ea00 8139651: ConcurrentG1Refine uses ints for many of its members that should be unsigned types
jprovino
parents: 33608
diff changeset
   135
  size_t red_zone() const        { return _red_zone;    }
1374
4c24294029a9 6711316: Open source the Garbage-First garbage collector
ysr
parents:
diff changeset
   136
};
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 6247
diff changeset
   137
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 49392
diff changeset
   138
#endif // SHARE_GC_G1_G1CONCURRENTREFINE_HPP