Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_interface/collectedHeap.hpp @ 8504:86b4965f0c9a
-Cleanup code
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Wed, 20 Mar 2013 21:39:24 +0100 |
parents | ff4fa8b0516e |
children | 89e4d67fdd2a |
comparison
equal
deleted
inserted
replaced
8503:58385e7565ff | 8504:86b4965f0c9a |
---|---|
481 // collector -- dld). | 481 // collector -- dld). |
482 bool is_gc_active() const { return _is_gc_active; } | 482 bool is_gc_active() const { return _is_gc_active; } |
483 | 483 |
484 // Total number of GC collections (started) | 484 // Total number of GC collections (started) |
485 unsigned int total_collections() const { return _total_collections; } | 485 unsigned int total_collections() const { return _total_collections; } |
486 unsigned int* total_collections_address() { return &_total_collections; } | |
487 unsigned int total_full_collections() const { return _total_full_collections;} | 486 unsigned int total_full_collections() const { return _total_full_collections;} |
488 | 487 |
489 // Increment total number of GC collections (started) | 488 // Increment total number of GC collections (started) |
490 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 | 489 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 |
491 void increment_total_collections(bool full = false) { | 490 void increment_total_collections(bool full = false) { |