Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8277981: String Deduplication table is never cleaned up due to bad de…
…ad_factor_for_cleanup

Backport-of: 8d7958e46969fd59df7bc6dd1cbe31ae63686b05
  • Loading branch information
shipilev committed Dec 1, 2021
1 parent 5406f14 commit a6c3b5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -161,6 +161,6 @@ void StringDedup::Config::initialize() {
_load_factor_for_shrink = StringDeduplicationShrinkTableLoad;
_load_factor_target = StringDeduplicationTargetTableLoad;
_minimum_dead_for_cleanup = StringDeduplicationCleanupDeadMinimum;
_dead_factor_for_cleanup = percent_of(StringDeduplicationCleanupDeadPercent, 100);
_dead_factor_for_cleanup = StringDeduplicationCleanupDeadPercent / 100.0;
_hash_seed = initial_hash_seed();
}

1 comment on commit a6c3b5d

@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.