hotspot/src/share/vm/gc_interface/collectedHeap.cpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
child 1374 4c24294029a9
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
    33 // Memory state functions.
    33 // Memory state functions.
    34 
    34 
    35 CollectedHeap::CollectedHeap() :
    35 CollectedHeap::CollectedHeap() :
    36   _reserved(), _barrier_set(NULL), _is_gc_active(false),
    36   _reserved(), _barrier_set(NULL), _is_gc_active(false),
    37   _total_collections(0), _total_full_collections(0),
    37   _total_collections(0), _total_full_collections(0),
    38   _max_heap_capacity(0),
       
    39   _gc_cause(GCCause::_no_gc), _gc_lastcause(GCCause::_no_gc) {
    38   _gc_cause(GCCause::_no_gc), _gc_lastcause(GCCause::_no_gc) {
    40   NOT_PRODUCT(_promotion_failure_alot_count = 0;)
    39   NOT_PRODUCT(_promotion_failure_alot_count = 0;)
    41   NOT_PRODUCT(_promotion_failure_alot_gc_number = 0;)
    40   NOT_PRODUCT(_promotion_failure_alot_gc_number = 0;)
    42 
    41 
    43   if (UsePerfData) {
    42   if (UsePerfData) {