Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_interface/collectedHeap.hpp @ 12559:ae412befde21
read HotSpotVMConfig fields from HotSpot's vmStructs via annotations
author | twisti |
---|---|
date | Wed, 23 Oct 2013 19:50:14 -0700 |
parents | cefad50507d8 |
children | 096c224171c4 |
comparison
equal
deleted
inserted
replaced
12558:5de6526474bb | 12559:ae412befde21 |
---|---|
489 bool is_gc_active() const { return _is_gc_active; } | 489 bool is_gc_active() const { return _is_gc_active; } |
490 | 490 |
491 // Total number of GC collections (started) | 491 // Total number of GC collections (started) |
492 unsigned int total_collections() const { return _total_collections; } | 492 unsigned int total_collections() const { return _total_collections; } |
493 unsigned int total_full_collections() const { return _total_full_collections;} | 493 unsigned int total_full_collections() const { return _total_full_collections;} |
494 #ifdef GRAAL | 494 |
495 unsigned int* total_collections_address() { return &_total_collections;} | |
496 #endif | |
497 // Increment total number of GC collections (started) | 495 // Increment total number of GC collections (started) |
498 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 | 496 // Should be protected but used by PSMarkSweep - cleanup for 1.4.2 |
499 void increment_total_collections(bool full = false) { | 497 void increment_total_collections(bool full = false) { |
500 _total_collections++; | 498 _total_collections++; |
501 if (full) { | 499 if (full) { |