File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ void MallocLimitSet::reset() {
145
145
}
146
146
}
147
147
148
- void MallocLimitSet::print_on (outputStream* st) const {
148
+ void MallocLimitSet::print_on (outputStream* st) {
149
149
static const char * flagnames[] = { MODE_FATAL, MODE_OOM };
150
150
if (_glob.sz > 0 ) {
151
151
st->print_cr (" MallocLimit: total limit: " PROPERFMT " (%s)" , PROPERFMTARGS (_glob.sz ),
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ class MallocLimitSet {
68
68
void set_category_limit (MemTag mem_tag, size_t s, MallocLimitMode mode);
69
69
70
70
const malloclimit* global_limit () const { return &_glob; }
71
- const malloclimit* category_limit (MemTag mem_tag) const {
71
+ const malloclimit* category_limit (MemTag mem_tag) {
72
72
_cat.at_grow (NMTUtil::tag_to_index (mem_tag));
73
73
return &_cat.at (NMTUtil::tag_to_index (mem_tag));
74
74
}
75
75
76
- void print_on (outputStream* st) const ;
76
+ void print_on (outputStream* st);
77
77
};
78
78
79
79
class MallocLimitHandler : public AllStatic {
You can’t perform that action at this time.
0 commit comments