hotspot/src/share/vm/services/memoryManager.hpp
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 1 489c9b5090e2
child 4459 eb506d590394
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
 * Copyright 2003-2005 Sun Microsystems, Inc.  All Rights Reserved.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    19
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    20
 * CA 95054 USA or visit www.sun.com if you need additional information or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    21
 * have any questions.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
 */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
// A memory manager is responsible for managing one or more memory pools.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
// The garbage collector is one type of memory managers responsible
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
// for reclaiming memory occupied by unreachable objects.  A Java virtual
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
// machine may have one or more memory managers.   It may
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
// add or remove memory managers during execution.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
// A memory pool can be managed by more than one memory managers.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
class MemoryPool;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
class GCMemoryManager;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
class OopClosure;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
class MemoryManager : public CHeapObj {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
  enum {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
    max_num_pools = 10
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
  };
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
  MemoryPool* _pools[max_num_pools];
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
  int         _num_pools;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
protected:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
  volatile instanceOop _memory_mgr_obj;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
  enum Name {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
    Abstract,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
    CodeCache,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
    Copy,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
    MarkSweepCompact,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
    ParNew,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
    ConcurrentMarkSweep,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
    PSScavenge,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
    PSMarkSweep
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
  };
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
  MemoryManager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
  int num_memory_pools() const           { return _num_pools; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
  MemoryPool* get_memory_pool(int index) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
    assert(index >= 0 && index < _num_pools, "Invalid index");
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
    return _pools[index];
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
  void add_pool(MemoryPool* pool);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
  bool is_manager(instanceHandle mh)     { return mh() == _memory_mgr_obj; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
  virtual instanceOop get_memory_manager_instance(TRAPS);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
  virtual MemoryManager::Name kind()     { return MemoryManager::Abstract; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
  virtual bool is_gc_memory_manager()    { return false; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
  virtual const char* name() = 0;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
  // GC support
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
  void oops_do(OopClosure* f);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
  // Static factory methods to get a memory manager of a specific type
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
  static MemoryManager*   get_code_cache_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
  static GCMemoryManager* get_copy_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
  static GCMemoryManager* get_msc_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
  static GCMemoryManager* get_parnew_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
  static GCMemoryManager* get_cms_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
  static GCMemoryManager* get_psScavenge_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
  static GCMemoryManager* get_psMarkSweep_memory_manager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
class CodeCacheMemoryManager : public MemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
  CodeCacheMemoryManager() : MemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
  MemoryManager::Name kind() { return MemoryManager::CodeCache; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
  const char* name()         { return "CodeCacheManager"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
class GCStatInfo : public CHeapObj {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
  size_t _index;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
  jlong  _start_time;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
  jlong  _end_time;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
  // We keep memory usage of all memory pools
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
  MemoryUsage* _before_gc_usage_array;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
  MemoryUsage* _after_gc_usage_array;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
  int          _usage_array_size;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
  void set_gc_usage(int pool_index, MemoryUsage, bool before_gc);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
  GCStatInfo(int num_pools);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
  ~GCStatInfo();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
  size_t gc_index()               { return _index; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
  jlong  start_time()             { return _start_time; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
  jlong  end_time()               { return _end_time; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
  int    usage_array_size()       { return _usage_array_size; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
  MemoryUsage before_gc_usage_for_pool(int pool_index) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
    assert(pool_index >= 0 && pool_index < _usage_array_size, "Range checking");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
    return _before_gc_usage_array[pool_index];
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
  MemoryUsage after_gc_usage_for_pool(int pool_index) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
    assert(pool_index >= 0 && pool_index < _usage_array_size, "Range checking");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
    return _after_gc_usage_array[pool_index];
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
  void set_index(size_t index)    { _index = index; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
  void set_start_time(jlong time) { _start_time = time; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
  void set_end_time(jlong time)   { _end_time = time; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
  void set_before_gc_usage(int pool_index, MemoryUsage usage) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
    assert(pool_index >= 0 && pool_index < _usage_array_size, "Range checking");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
    set_gc_usage(pool_index, usage, true /* before gc */);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
  void set_after_gc_usage(int pool_index, MemoryUsage usage) {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
    assert(pool_index >= 0 && pool_index < _usage_array_size, "Range checking");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
    set_gc_usage(pool_index, usage, false /* after gc */);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
  void copy_stat(GCStatInfo* stat);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
class GCMemoryManager : public MemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
  // TODO: We should unify the GCCounter and GCMemoryManager statistic
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
  size_t       _num_collections;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
  elapsedTimer _accumulated_timer;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
  elapsedTimer _gc_timer;         // for measuring every GC duration
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
  GCStatInfo*  _last_gc_stat;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
  int          _num_gc_threads;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
  GCMemoryManager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
  ~GCMemoryManager();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
  void   initialize_gc_stat_info();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
  bool   is_gc_memory_manager()         { return true; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
  jlong  gc_time_ms()                   { return _accumulated_timer.milliseconds(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
  size_t gc_count()                     { return _num_collections; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
  int    num_gc_threads()               { return _num_gc_threads; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
  void   set_num_gc_threads(int count)  { _num_gc_threads = count; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
  void   gc_begin();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
  void   gc_end();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
  void        reset_gc_stat()   { _num_collections = 0; _accumulated_timer.reset(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
  GCStatInfo* last_gc_stat()    { return _last_gc_stat; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
  virtual MemoryManager::Name kind() = 0;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
// These subclasses of GCMemoryManager are defined to include
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
// GC-specific information.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
// TODO: Add GC-specific information
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
class CopyMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
  CopyMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
  MemoryManager::Name kind() { return MemoryManager::Copy; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
  const char* name()         { return "Copy"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
class MSCMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
  MSCMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
  MemoryManager::Name kind() { return MemoryManager::MarkSweepCompact; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
  const char* name()         { return "MarkSweepCompact"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
class ParNewMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
  ParNewMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
  MemoryManager::Name kind() { return MemoryManager::ParNew; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
  const char* name()         { return "ParNew"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
class CMSMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
  CMSMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
  MemoryManager::Name kind() { return MemoryManager::ConcurrentMarkSweep; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
  const char* name()         { return "ConcurrentMarkSweep";}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
class PSScavengeMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   218
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
  PSScavengeMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
489c9b5090e2 Initial load
duke
parents:
diff changeset
   221
  MemoryManager::Name kind() { return MemoryManager::PSScavenge; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
  const char* name()         { return "PS Scavenge"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   223
489c9b5090e2 Initial load
duke
parents:
diff changeset
   224
};
489c9b5090e2 Initial load
duke
parents:
diff changeset
   225
489c9b5090e2 Initial load
duke
parents:
diff changeset
   226
class PSMarkSweepMemoryManager : public GCMemoryManager {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   227
private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
  PSMarkSweepMemoryManager() : GCMemoryManager() {}
489c9b5090e2 Initial load
duke
parents:
diff changeset
   230
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
  MemoryManager::Name kind() { return MemoryManager::PSMarkSweep; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
  const char* name()         { return "PS MarkSweep"; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
};