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

Add autoValueGson #17300

Closed
wants to merge 46 commits into from
Closed

Add autoValueGson #17300

wants to merge 46 commits into from

Conversation

SalmaSamy
Copy link
Contributor

AutoValueGson allows deserializing objects created from Auto_value classes

@SalmaSamy SalmaSamy requested a review from Wyverald January 24, 2023 08:24
@sgowroji sgowroji added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Jan 24, 2023
MODULE.bazel Outdated Show resolved Hide resolved
MODULE.bazel Outdated Show resolved Hide resolved
@SalmaSamy SalmaSamy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jan 30, 2023
@sgowroji
Copy link
Member

Hi @Wyverald , I could see above PR has third-party changes. Should i merge the third-party changes first and do the remaining through CL or vice versa ?

@Wyverald
Copy link
Member

For this one, you'll probably need to merge the non-third-party changes first and then do the third-party ones. Thank you!

@sgowroji
Copy link
Member

sgowroji commented Jan 30, 2023

Hi @SalmaSamy, Could you please squash all the commits into one, to merge the third-party changes. Thanks!

@sgowroji sgowroji reopened this Jan 30, 2023
SalmaSamy and others added 9 commits January 31, 2023 17:40
…al header mappings.

Since there is no way to convert Depset of Tuples to Depset of Pairs without flattening it, refactor the code so that Pairs are replaced by Tuples.

PiperOrigin-RevId: 505979345
Change-Id: I947d8f19823c65ebbaf18466734aba774222e79d
Previously, different `LibraryToLinkValue` inherited classes are created so that some heap overhead can be reduced. However, it is still possible equal objects with the same `name` are constructed multiple times, leading to multiple copies of the same object in heap.

The most straightforward idea to reduce the overhead is to utilize `Interner`. So, this commit applies `WeakInterner` to all of these static creation methods.

PiperOrigin-RevId: 505987062
Change-Id: I9e99adb3b2a6788467f6a290fb4fcaecf8ff0b65
@SalmaSamy SalmaSamy closed this Feb 1, 2023
@Wyverald Wyverald deleted the Add-auto-value-gson branch February 1, 2023 14:41
@Wyverald
Copy link
Member

Wyverald commented Feb 1, 2023

See #17379 instead

@sgowroji sgowroji removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Feb 3, 2023
hvadehra pushed a commit that referenced this pull request Feb 14, 2023
AutoValueGson allows deserializing objects created from Auto_value classes

Closes #17300.

PiperOrigin-RevId: 505706165
Change-Id: Icb4bbb3f6f696da4f437d6e40094613428c27193
SalmaSamy added a commit that referenced this pull request Apr 19, 2023
AutoValueGson allows deserializing objects created from Auto_value classes

Closes #17300.

PiperOrigin-RevId: 505706165
Change-Id: Icb4bbb3f6f696da4f437d6e40094613428c27193

# Conflicts:
#	MODULE.bazel
#	WORKSPACE
#	maven_install.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.