Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8268018: remove dead code in commitLimitter
Reviewed-by: zgu
  • Loading branch information
Hamlin Li committed Jun 7, 2021
1 parent 15715a8 commit 728a411
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/memory/metaspace/commitLimiter.hpp
Expand Up @@ -72,7 +72,6 @@ class CommitLimiter : public CHeapObj<mtMetaspace> {
void decrease_committed(size_t word_size) { _cnt.decrement_by(word_size); }

size_t committed_words() const { return _cnt.get(); }
size_t cap() const { return _cap; }

// Returns the global metaspace commit counter
static CommitLimiter* globalLimiter();
Expand Down

1 comment on commit 728a411

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.