We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d1c39 commit 59b0c8dCopy full SHA for 59b0c8d
src/hotspot/share/gc/shared/collectedHeap.hpp
@@ -244,8 +244,8 @@ class CollectedHeap : public CHeapObj<mtInternal> {
244
virtual size_t unused() const;
245
246
// Historic gc information
247
- size_t free_at_last_gc() { return _capacity_at_last_gc - _used_at_last_gc; }
248
- size_t used_at_last_gc() { return _used_at_last_gc; }
+ size_t free_at_last_gc() const { return _capacity_at_last_gc - _used_at_last_gc; }
+ size_t used_at_last_gc() const { return _used_at_last_gc; }
249
void update_capacity_and_used_at_gc();
250
251
// Return "true" if the part of the heap that allocates Java
0 commit comments