Mercurial > hg > graal-compiler
comparison src/share/vm/memory/metaspaceCounters.hpp @ 10183:868d87ed63c8
8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
Reviewed-by: mgerdin, coleenp
author | jmasa |
---|---|
date | Tue, 12 Feb 2013 14:15:45 -0800 |
parents | 0624b9d81255 |
children | 1a8fb39bdbc4 |
comparison
equal
deleted
inserted
replaced
10182:5c93c1f61226 | 10183:868d87ed63c8 |
---|---|
35 static MetaspaceCounters* _metaspace_counters; | 35 static MetaspaceCounters* _metaspace_counters; |
36 void initialize(size_t min_capacity, | 36 void initialize(size_t min_capacity, |
37 size_t max_capacity, | 37 size_t max_capacity, |
38 size_t curr_capacity, | 38 size_t curr_capacity, |
39 size_t used); | 39 size_t used); |
40 size_t calc_total_capacity(); | |
40 public: | 41 public: |
41 MetaspaceCounters(); | 42 MetaspaceCounters(); |
42 ~MetaspaceCounters(); | 43 ~MetaspaceCounters(); |
43 | 44 |
44 void update_capacity(); | 45 void update_capacity(); |