Mercurial > hg > graal-compiler
comparison src/share/vm/gc_interface/collectedHeap.hpp @ 10702:b95d42fdddca
Minor refactoring
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 11 Jul 2013 12:09:36 +0200 |
parents | 72d0ea03635b |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
10701:f1cd428fca9f | 10702:b95d42fdddca |
---|---|
489 | 489 |
490 // Total number of GC collections (started) | 490 // Total number of GC collections (started) |
491 unsigned int total_collections() const { return _total_collections; } | 491 unsigned int total_collections() const { return _total_collections; } |
492 unsigned int total_full_collections() const { return _total_full_collections;} | 492 unsigned int total_full_collections() const { return _total_full_collections;} |
493 #ifdef GRAAL | 493 #ifdef GRAAL |
494 void* total_collections_address() { return &_total_collections;} | 494 unsigned int* total_collections_address() { return &_total_collections;} |
495 #endif | 495 #endif |
496 // Increment total number of GC collections (started) | 496 // Increment total number of GC collections (started) |
497 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 | 497 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 |
498 void increment_total_collections(bool full = false) { | 498 void increment_total_collections(bool full = false) { |
499 _total_collections++; | 499 _total_collections++; |