src/share/vm/gc_implementation/parNew/parNewGeneration.hpp

Tue, 08 Aug 2017 15:57:29 +0800

author
aoqi
date
Tue, 08 Aug 2017 15:57:29 +0800
changeset 6876
710a3c8b516e
parent 5515
9766f73e770d
parent 0
f90c822e73f8
child 7535
7ae4e26cb1e0
permissions
-rw-r--r--

merge

aoqi@0 1 /*
aoqi@0 2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
aoqi@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@0 4 *
aoqi@0 5 * This code is free software; you can redistribute it and/or modify it
aoqi@0 6 * under the terms of the GNU General Public License version 2 only, as
aoqi@0 7 * published by the Free Software Foundation.
aoqi@0 8 *
aoqi@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@0 12 * version 2 for more details (a copy is included in the LICENSE file that
aoqi@0 13 * accompanied this code).
aoqi@0 14 *
aoqi@0 15 * You should have received a copy of the GNU General Public License version
aoqi@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
aoqi@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@0 18 *
aoqi@0 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@0 20 * or visit www.oracle.com if you need additional information or have any
aoqi@0 21 * questions.
aoqi@0 22 *
aoqi@0 23 */
aoqi@0 24
aoqi@0 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
aoqi@0 26 #define SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP
aoqi@0 27
aoqi@0 28 #include "gc_implementation/shared/gcTrace.hpp"
aoqi@0 29 #include "gc_implementation/shared/parGCAllocBuffer.hpp"
aoqi@0 30 #include "gc_implementation/shared/copyFailedInfo.hpp"
aoqi@0 31 #include "memory/defNewGeneration.hpp"
aoqi@0 32 #include "memory/padded.hpp"
aoqi@0 33 #include "utilities/taskqueue.hpp"
aoqi@0 34
aoqi@0 35 class ChunkArray;
aoqi@0 36 class ParScanWithoutBarrierClosure;
aoqi@0 37 class ParScanWithBarrierClosure;
aoqi@0 38 class ParRootScanWithoutBarrierClosure;
aoqi@0 39 class ParRootScanWithBarrierTwoGensClosure;
aoqi@0 40 class ParEvacuateFollowersClosure;
aoqi@0 41
aoqi@0 42 // It would be better if these types could be kept local to the .cpp file,
aoqi@0 43 // but they must be here to allow ParScanClosure::do_oop_work to be defined
aoqi@0 44 // in genOopClosures.inline.hpp.
aoqi@0 45
aoqi@0 46 typedef Padded<OopTaskQueue> ObjToScanQueue;
aoqi@0 47 typedef GenericTaskQueueSet<ObjToScanQueue, mtGC> ObjToScanQueueSet;
aoqi@0 48
aoqi@0 49 class ParKeepAliveClosure: public DefNewGeneration::KeepAliveClosure {
aoqi@0 50 private:
aoqi@0 51 ParScanWeakRefClosure* _par_cl;
aoqi@0 52 protected:
aoqi@0 53 template <class T> void do_oop_work(T* p);
aoqi@0 54 public:
aoqi@0 55 ParKeepAliveClosure(ParScanWeakRefClosure* cl);
aoqi@0 56 virtual void do_oop(oop* p);
aoqi@0 57 virtual void do_oop(narrowOop* p);
aoqi@0 58 };
aoqi@0 59
aoqi@0 60 // The state needed by thread performing parallel young-gen collection.
aoqi@0 61 class ParScanThreadState {
aoqi@0 62 friend class ParScanThreadStateSet;
aoqi@0 63 private:
aoqi@0 64 ObjToScanQueue *_work_queue;
aoqi@0 65 Stack<oop, mtGC>* const _overflow_stack;
aoqi@0 66
aoqi@0 67 ParGCAllocBuffer _to_space_alloc_buffer;
aoqi@0 68
aoqi@0 69 ParScanWithoutBarrierClosure _to_space_closure; // scan_without_gc_barrier
aoqi@0 70 ParScanWithBarrierClosure _old_gen_closure; // scan_with_gc_barrier
aoqi@0 71 ParRootScanWithoutBarrierClosure _to_space_root_closure; // scan_root_without_gc_barrier
aoqi@0 72 // One of these two will be passed to process_strong_roots, which will
aoqi@0 73 // set its generation. The first is for two-gen configs where the
aoqi@0 74 // old gen collects the perm gen; the second is for arbitrary configs.
aoqi@0 75 // The second isn't used right now (it used to be used for the train, an
aoqi@0 76 // incremental collector) but the declaration has been left as a reminder.
aoqi@0 77 ParRootScanWithBarrierTwoGensClosure _older_gen_closure;
aoqi@0 78 // This closure will always be bound to the old gen; it will be used
aoqi@0 79 // in evacuate_followers.
aoqi@0 80 ParRootScanWithBarrierTwoGensClosure _old_gen_root_closure; // scan_old_root_with_gc_barrier
aoqi@0 81 ParEvacuateFollowersClosure _evacuate_followers;
aoqi@0 82 DefNewGeneration::IsAliveClosure _is_alive_closure;
aoqi@0 83 ParScanWeakRefClosure _scan_weak_ref_closure;
aoqi@0 84 ParKeepAliveClosure _keep_alive_closure;
aoqi@0 85
aoqi@0 86
aoqi@0 87 Space* _to_space;
aoqi@0 88 Space* to_space() { return _to_space; }
aoqi@0 89
aoqi@0 90 ParNewGeneration* _young_gen;
aoqi@0 91 ParNewGeneration* young_gen() const { return _young_gen; }
aoqi@0 92
aoqi@0 93 Generation* _old_gen;
aoqi@0 94 Generation* old_gen() { return _old_gen; }
aoqi@0 95
aoqi@0 96 HeapWord *_young_old_boundary;
aoqi@0 97
aoqi@0 98 int _hash_seed;
aoqi@0 99 int _thread_num;
aoqi@0 100 ageTable _ageTable;
aoqi@0 101
aoqi@0 102 bool _to_space_full;
aoqi@0 103
aoqi@0 104 #if TASKQUEUE_STATS
aoqi@0 105 size_t _term_attempts;
aoqi@0 106 size_t _overflow_refills;
aoqi@0 107 size_t _overflow_refill_objs;
aoqi@0 108 #endif // TASKQUEUE_STATS
aoqi@0 109
aoqi@0 110 // Stats for promotion failure
aoqi@0 111 PromotionFailedInfo _promotion_failed_info;
aoqi@0 112
aoqi@0 113 // Timing numbers.
aoqi@0 114 double _start;
aoqi@0 115 double _start_strong_roots;
aoqi@0 116 double _strong_roots_time;
aoqi@0 117 double _start_term;
aoqi@0 118 double _term_time;
aoqi@0 119
aoqi@0 120 // Helper for trim_queues. Scans subset of an array and makes
aoqi@0 121 // remainder available for work stealing.
aoqi@0 122 void scan_partial_array_and_push_remainder(oop obj);
aoqi@0 123
aoqi@0 124 // In support of CMS' parallel rescan of survivor space.
aoqi@0 125 ChunkArray* _survivor_chunk_array;
aoqi@0 126 ChunkArray* survivor_chunk_array() { return _survivor_chunk_array; }
aoqi@0 127
aoqi@0 128 void record_survivor_plab(HeapWord* plab_start, size_t plab_word_size);
aoqi@0 129
aoqi@0 130 ParScanThreadState(Space* to_space_, ParNewGeneration* gen_,
aoqi@0 131 Generation* old_gen_, int thread_num_,
aoqi@0 132 ObjToScanQueueSet* work_queue_set_,
aoqi@0 133 Stack<oop, mtGC>* overflow_stacks_,
aoqi@0 134 size_t desired_plab_sz_,
aoqi@0 135 ParallelTaskTerminator& term_);
aoqi@0 136
aoqi@0 137 public:
aoqi@0 138 ageTable* age_table() {return &_ageTable;}
aoqi@0 139
aoqi@0 140 ObjToScanQueue* work_queue() { return _work_queue; }
aoqi@0 141
aoqi@0 142 ParGCAllocBuffer* to_space_alloc_buffer() {
aoqi@0 143 return &_to_space_alloc_buffer;
aoqi@0 144 }
aoqi@0 145
aoqi@0 146 ParEvacuateFollowersClosure& evacuate_followers_closure() { return _evacuate_followers; }
aoqi@0 147 DefNewGeneration::IsAliveClosure& is_alive_closure() { return _is_alive_closure; }
aoqi@0 148 ParScanWeakRefClosure& scan_weak_ref_closure() { return _scan_weak_ref_closure; }
aoqi@0 149 ParKeepAliveClosure& keep_alive_closure() { return _keep_alive_closure; }
aoqi@0 150 ParScanClosure& older_gen_closure() { return _older_gen_closure; }
aoqi@0 151 ParRootScanWithoutBarrierClosure& to_space_root_closure() { return _to_space_root_closure; };
aoqi@0 152
aoqi@0 153 // Decrease queue size below "max_size".
aoqi@0 154 void trim_queues(int max_size);
aoqi@0 155
aoqi@0 156 // Private overflow stack usage
aoqi@0 157 Stack<oop, mtGC>* overflow_stack() { return _overflow_stack; }
aoqi@0 158 bool take_from_overflow_stack();
aoqi@0 159 void push_on_overflow_stack(oop p);
aoqi@0 160
aoqi@0 161 // Is new_obj a candidate for scan_partial_array_and_push_remainder method.
aoqi@0 162 inline bool should_be_partially_scanned(oop new_obj, oop old_obj) const;
aoqi@0 163
aoqi@0 164 int* hash_seed() { return &_hash_seed; }
aoqi@0 165 int thread_num() { return _thread_num; }
aoqi@0 166
aoqi@0 167 // Allocate a to-space block of size "sz", or else return NULL.
aoqi@0 168 HeapWord* alloc_in_to_space_slow(size_t word_sz);
aoqi@0 169
aoqi@0 170 HeapWord* alloc_in_to_space(size_t word_sz) {
aoqi@0 171 HeapWord* obj = to_space_alloc_buffer()->allocate(word_sz);
aoqi@0 172 if (obj != NULL) return obj;
aoqi@0 173 else return alloc_in_to_space_slow(word_sz);
aoqi@0 174 }
aoqi@0 175
aoqi@0 176 HeapWord* young_old_boundary() { return _young_old_boundary; }
aoqi@0 177
aoqi@0 178 void set_young_old_boundary(HeapWord *boundary) {
aoqi@0 179 _young_old_boundary = boundary;
aoqi@0 180 }
aoqi@0 181
aoqi@0 182 // Undo the most recent allocation ("obj", of "word_sz").
aoqi@0 183 void undo_alloc_in_to_space(HeapWord* obj, size_t word_sz);
aoqi@0 184
aoqi@0 185 // Promotion failure stats
aoqi@0 186 void register_promotion_failure(size_t sz) {
aoqi@0 187 _promotion_failed_info.register_copy_failure(sz);
aoqi@0 188 }
aoqi@0 189 PromotionFailedInfo& promotion_failed_info() {
aoqi@0 190 return _promotion_failed_info;
aoqi@0 191 }
aoqi@0 192 bool promotion_failed() {
aoqi@0 193 return _promotion_failed_info.has_failed();
aoqi@0 194 }
aoqi@0 195 void print_promotion_failure_size();
aoqi@0 196
aoqi@0 197 #if TASKQUEUE_STATS
aoqi@0 198 TaskQueueStats & taskqueue_stats() const { return _work_queue->stats; }
aoqi@0 199
aoqi@0 200 size_t term_attempts() const { return _term_attempts; }
aoqi@0 201 size_t overflow_refills() const { return _overflow_refills; }
aoqi@0 202 size_t overflow_refill_objs() const { return _overflow_refill_objs; }
aoqi@0 203
aoqi@0 204 void note_term_attempt() { ++_term_attempts; }
aoqi@0 205 void note_overflow_refill(size_t objs) {
aoqi@0 206 ++_overflow_refills; _overflow_refill_objs += objs;
aoqi@0 207 }
aoqi@0 208
aoqi@0 209 void reset_stats();
aoqi@0 210 #endif // TASKQUEUE_STATS
aoqi@0 211
aoqi@0 212 void start_strong_roots() {
aoqi@0 213 _start_strong_roots = os::elapsedTime();
aoqi@0 214 }
aoqi@0 215 void end_strong_roots() {
aoqi@0 216 _strong_roots_time += (os::elapsedTime() - _start_strong_roots);
aoqi@0 217 }
aoqi@0 218 double strong_roots_time() const { return _strong_roots_time; }
aoqi@0 219 void start_term_time() {
aoqi@0 220 TASKQUEUE_STATS_ONLY(note_term_attempt());
aoqi@0 221 _start_term = os::elapsedTime();
aoqi@0 222 }
aoqi@0 223 void end_term_time() {
aoqi@0 224 _term_time += (os::elapsedTime() - _start_term);
aoqi@0 225 }
aoqi@0 226 double term_time() const { return _term_time; }
aoqi@0 227
aoqi@0 228 double elapsed_time() const {
aoqi@0 229 return os::elapsedTime() - _start;
aoqi@0 230 }
aoqi@0 231 };
aoqi@0 232
aoqi@0 233 class ParNewGenTask: public AbstractGangTask {
aoqi@0 234 private:
aoqi@0 235 ParNewGeneration* _gen;
aoqi@0 236 Generation* _next_gen;
aoqi@0 237 HeapWord* _young_old_boundary;
aoqi@0 238 class ParScanThreadStateSet* _state_set;
aoqi@0 239
aoqi@0 240 public:
aoqi@0 241 ParNewGenTask(ParNewGeneration* gen,
aoqi@0 242 Generation* next_gen,
aoqi@0 243 HeapWord* young_old_boundary,
aoqi@0 244 ParScanThreadStateSet* state_set);
aoqi@0 245
aoqi@0 246 HeapWord* young_old_boundary() { return _young_old_boundary; }
aoqi@0 247
aoqi@0 248 void work(uint worker_id);
aoqi@0 249
aoqi@0 250 // Reset the terminator in ParScanThreadStateSet for
aoqi@0 251 // "active_workers" threads.
aoqi@0 252 virtual void set_for_termination(int active_workers);
aoqi@0 253 };
aoqi@0 254
aoqi@0 255 class KeepAliveClosure: public DefNewGeneration::KeepAliveClosure {
aoqi@0 256 protected:
aoqi@0 257 template <class T> void do_oop_work(T* p);
aoqi@0 258 public:
aoqi@0 259 KeepAliveClosure(ScanWeakRefClosure* cl);
aoqi@0 260 virtual void do_oop(oop* p);
aoqi@0 261 virtual void do_oop(narrowOop* p);
aoqi@0 262 };
aoqi@0 263
aoqi@0 264 class EvacuateFollowersClosureGeneral: public VoidClosure {
aoqi@0 265 private:
aoqi@0 266 GenCollectedHeap* _gch;
aoqi@0 267 int _level;
aoqi@0 268 OopsInGenClosure* _scan_cur_or_nonheap;
aoqi@0 269 OopsInGenClosure* _scan_older;
aoqi@0 270 public:
aoqi@0 271 EvacuateFollowersClosureGeneral(GenCollectedHeap* gch, int level,
aoqi@0 272 OopsInGenClosure* cur,
aoqi@0 273 OopsInGenClosure* older);
aoqi@0 274 virtual void do_void();
aoqi@0 275 };
aoqi@0 276
aoqi@0 277 // Closure for scanning ParNewGeneration.
aoqi@0 278 // Same as ScanClosure, except does parallel GC barrier.
aoqi@0 279 class ScanClosureWithParBarrier: public ScanClosure {
aoqi@0 280 protected:
aoqi@0 281 template <class T> void do_oop_work(T* p);
aoqi@0 282 public:
aoqi@0 283 ScanClosureWithParBarrier(ParNewGeneration* g, bool gc_barrier);
aoqi@0 284 virtual void do_oop(oop* p);
aoqi@0 285 virtual void do_oop(narrowOop* p);
aoqi@0 286 };
aoqi@0 287
aoqi@0 288 // Implements AbstractRefProcTaskExecutor for ParNew.
aoqi@0 289 class ParNewRefProcTaskExecutor: public AbstractRefProcTaskExecutor {
aoqi@0 290 private:
aoqi@0 291 ParNewGeneration& _generation;
aoqi@0 292 ParScanThreadStateSet& _state_set;
aoqi@0 293 public:
aoqi@0 294 ParNewRefProcTaskExecutor(ParNewGeneration& generation,
aoqi@0 295 ParScanThreadStateSet& state_set)
aoqi@0 296 : _generation(generation), _state_set(state_set)
aoqi@0 297 { }
aoqi@0 298
aoqi@0 299 // Executes a task using worker threads.
aoqi@0 300 virtual void execute(ProcessTask& task);
aoqi@0 301 virtual void execute(EnqueueTask& task);
aoqi@0 302 // Switch to single threaded mode.
aoqi@0 303 virtual void set_single_threaded_mode();
aoqi@0 304 };
aoqi@0 305
aoqi@0 306
aoqi@0 307 // A Generation that does parallel young-gen collection.
aoqi@0 308
aoqi@0 309 class ParNewGeneration: public DefNewGeneration {
aoqi@0 310 friend class ParNewGenTask;
aoqi@0 311 friend class ParNewRefProcTask;
aoqi@0 312 friend class ParNewRefProcTaskExecutor;
aoqi@0 313 friend class ParScanThreadStateSet;
aoqi@0 314 friend class ParEvacuateFollowersClosure;
aoqi@0 315
aoqi@0 316 private:
aoqi@0 317 // The per-worker-thread work queues
aoqi@0 318 ObjToScanQueueSet* _task_queues;
aoqi@0 319
aoqi@0 320 // Per-worker-thread local overflow stacks
aoqi@0 321 Stack<oop, mtGC>* _overflow_stacks;
aoqi@0 322
aoqi@0 323 // Desired size of survivor space plab's
aoqi@0 324 PLABStats _plab_stats;
aoqi@0 325
aoqi@0 326 // A list of from-space images of to-be-scanned objects, threaded through
aoqi@0 327 // klass-pointers (klass information already copied to the forwarded
aoqi@0 328 // image.) Manipulated with CAS.
aoqi@0 329 oop _overflow_list;
aoqi@0 330 NOT_PRODUCT(ssize_t _num_par_pushes;)
aoqi@0 331
aoqi@0 332 // If true, older generation does not support promotion undo, so avoid.
aoqi@0 333 static bool _avoid_promotion_undo;
aoqi@0 334
aoqi@0 335 // This closure is used by the reference processor to filter out
aoqi@0 336 // references to live referent.
aoqi@0 337 DefNewGeneration::IsAliveClosure _is_alive_closure;
aoqi@0 338
aoqi@0 339 static oop real_forwardee_slow(oop obj);
aoqi@0 340 static void waste_some_time();
aoqi@0 341
aoqi@0 342 // Preserve the mark of "obj", if necessary, in preparation for its mark
aoqi@0 343 // word being overwritten with a self-forwarding-pointer.
aoqi@0 344 void preserve_mark_if_necessary(oop obj, markOop m);
aoqi@0 345
aoqi@0 346 void handle_promotion_failed(GenCollectedHeap* gch, ParScanThreadStateSet& thread_state_set, ParNewTracer& gc_tracer);
aoqi@0 347
aoqi@0 348 protected:
aoqi@0 349
aoqi@0 350 bool _survivor_overflow;
aoqi@0 351
aoqi@0 352 bool avoid_promotion_undo() { return _avoid_promotion_undo; }
aoqi@0 353 void set_avoid_promotion_undo(bool v) { _avoid_promotion_undo = v; }
aoqi@0 354
aoqi@0 355 bool survivor_overflow() { return _survivor_overflow; }
aoqi@0 356 void set_survivor_overflow(bool v) { _survivor_overflow = v; }
aoqi@0 357
aoqi@0 358 public:
aoqi@0 359 ParNewGeneration(ReservedSpace rs, size_t initial_byte_size, int level);
aoqi@0 360
aoqi@0 361 ~ParNewGeneration() {
aoqi@0 362 for (uint i = 0; i < ParallelGCThreads; i++)
aoqi@0 363 delete _task_queues->queue(i);
aoqi@0 364
aoqi@0 365 delete _task_queues;
aoqi@0 366 }
aoqi@0 367
aoqi@0 368 virtual void ref_processor_init();
aoqi@0 369 virtual Generation::Name kind() { return Generation::ParNew; }
aoqi@0 370 virtual const char* name() const;
aoqi@0 371 virtual const char* short_name() const { return "ParNew"; }
aoqi@0 372
aoqi@0 373 // override
aoqi@0 374 virtual bool refs_discovery_is_mt() const {
aoqi@0 375 assert(UseParNewGC, "ParNewGeneration only when UseParNewGC");
aoqi@0 376 return ParallelGCThreads > 1;
aoqi@0 377 }
aoqi@0 378
aoqi@0 379 // Make the collection virtual.
aoqi@0 380 virtual void collect(bool full,
aoqi@0 381 bool clear_all_soft_refs,
aoqi@0 382 size_t size,
aoqi@0 383 bool is_tlab);
aoqi@0 384
aoqi@0 385 // This needs to be visible to the closure function.
aoqi@0 386 // "obj" is the object to be copied, "m" is a recent value of its mark
aoqi@0 387 // that must not contain a forwarding pointer (though one might be
aoqi@0 388 // inserted in "obj"s mark word by a parallel thread).
aoqi@0 389 inline oop copy_to_survivor_space(ParScanThreadState* par_scan_state,
aoqi@0 390 oop obj, size_t obj_sz, markOop m) {
aoqi@0 391 if (_avoid_promotion_undo) {
aoqi@0 392 return copy_to_survivor_space_avoiding_promotion_undo(par_scan_state,
aoqi@0 393 obj, obj_sz, m);
aoqi@0 394 }
aoqi@0 395
aoqi@0 396 return copy_to_survivor_space_with_undo(par_scan_state, obj, obj_sz, m);
aoqi@0 397 }
aoqi@0 398
aoqi@0 399 oop copy_to_survivor_space_avoiding_promotion_undo(ParScanThreadState* par_scan_state,
aoqi@0 400 oop obj, size_t obj_sz, markOop m);
aoqi@0 401
aoqi@0 402 oop copy_to_survivor_space_with_undo(ParScanThreadState* par_scan_state,
aoqi@0 403 oop obj, size_t obj_sz, markOop m);
aoqi@0 404
aoqi@0 405 // in support of testing overflow code
aoqi@0 406 NOT_PRODUCT(int _overflow_counter;)
aoqi@0 407 NOT_PRODUCT(bool should_simulate_overflow();)
aoqi@0 408
aoqi@0 409 // Accessor for overflow list
aoqi@0 410 oop overflow_list() { return _overflow_list; }
aoqi@0 411
aoqi@0 412 // Push the given (from-space) object on the global overflow list.
aoqi@0 413 void push_on_overflow_list(oop from_space_obj, ParScanThreadState* par_scan_state);
aoqi@0 414
aoqi@0 415 // If the global overflow list is non-empty, move some tasks from it
aoqi@0 416 // onto "work_q" (which need not be empty). No more than 1/4 of the
aoqi@0 417 // available space on "work_q" is used.
aoqi@0 418 bool take_from_overflow_list(ParScanThreadState* par_scan_state);
aoqi@0 419 bool take_from_overflow_list_work(ParScanThreadState* par_scan_state);
aoqi@0 420
aoqi@0 421 // The task queues to be used by parallel GC threads.
aoqi@0 422 ObjToScanQueueSet* task_queues() {
aoqi@0 423 return _task_queues;
aoqi@0 424 }
aoqi@0 425
aoqi@0 426 PLABStats* plab_stats() {
aoqi@0 427 return &_plab_stats;
aoqi@0 428 }
aoqi@0 429
aoqi@0 430 size_t desired_plab_sz() {
aoqi@0 431 return _plab_stats.desired_plab_sz();
aoqi@0 432 }
aoqi@0 433
aoqi@0 434 static oop real_forwardee(oop obj);
aoqi@0 435
aoqi@0 436 DEBUG_ONLY(static bool is_legal_forward_ptr(oop p);)
aoqi@0 437 };
aoqi@0 438
aoqi@0 439 #endif // SHARE_VM_GC_IMPLEMENTATION_PARNEW_PARNEWGENERATION_HPP

mercurial