equal
deleted
inserted
replaced
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) { |