Skip to content
Permalink
Browse files
8268018: remove dead code in commitLimitter
Reviewed-by: zgu
  • Loading branch information
Hamlin Li committed Jun 7, 2021
1 parent 15715a8 commit 728a411a541f93121bbd7db4258859196bcf6cdf
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/hotspot/share/memory/metaspace/commitLimiter.hpp
@@ -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();

1 comment on commit 728a411

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 728a411 Jun 7, 2021

Please sign in to comment.