Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Make ObjectsCache thread safe #3836

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

Zouxxyy
Copy link
Contributor

@Zouxxyy Zouxxyy commented Jul 29, 2024

Purpose

Make ObjectsCache thread safe

Tests

API and Format

Documentation

public class ObjectsCache<K, V> {

private final SegmentsCache<K> cache;
private final ObjectSerializer<V> serializer;
private final InternalRowSerializer rowSerializer;
Copy link
Contributor

Choose a reason for hiding this comment

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

Introduce a threadlocal serializers?

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit acec234 into apache:master Jul 29, 2024
9 checks passed
@Zouxxyy Zouxxyy deleted the dev/concurrent-cache branch July 29, 2024 09:12
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.

2 participants