Skip to content

Update the implementation class of dedupMap to prevent the memory growth for #7229#7242

Merged
enebo merged 1 commit intojruby:jruby-9.3from
k77ch7:ruby-2.6-memory
Jun 11, 2022
Merged

Update the implementation class of dedupMap to prevent the memory growth for #7229#7242
enebo merged 1 commit intojruby:jruby-9.3from
k77ch7:ruby-2.6-memory

Conversation

@k77ch7
Copy link
Contributor

@k77ch7 k77ch7 commented Jun 11, 2022

Using ConcurrentWeakHashMap class, I think frozen and dedup'd strings outside of the scope will be released.
This commit also overrides isChached of FrozenString class to avoid specific mri test failure.

See #7229

…wth for jruby#7229

Using ConcurrentWeakHashMap class, I think frozen and dedup'd strings outside of the scope will be released.
This commit also overrides isChached of FrozenString class to avoid specific mri test failure.

See jruby#7229
@enebo enebo added this to the JRuby 9.3.5.0 milestone Jun 11, 2022
@enebo enebo merged commit 7565616 into jruby:jruby-9.3 Jun 11, 2022
@headius headius modified the milestones: JRuby 9.3.5.0, JRuby 9.3.6.0 Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants