Skip to content

Optimize Java Lite Parser Registry with Centralized Cache#28400

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_944230250
Draft

Optimize Java Lite Parser Registry with Centralized Cache#28400
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_944230250

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jul 8, 2026

Copy link
Copy Markdown

Optimize Java Lite Parser Registry with Centralized Cache

Consolidate the parser map and parser cache into a single parserMap in GeneratedMessageLite.java, and eagerly register DefaultInstanceBasedParser during registerDefaultInstance.
Add @DoNotInline to parser helper methods to prevent code size explosion due to AppReduce inlining.

@copybara-service copybara-service Bot changed the title Internal change Optimize Java Lite Parser Registry with Centralized Cache Jul 10, 2026
Consolidate the parser map and parser cache into a single parserMap in GeneratedMessageLite.java, and eagerly register DefaultInstanceBasedParser during registerDefaultInstance.
Add @DoNotInline to parser helper methods to prevent code size explosion due to AppReduce inlining.

PiperOrigin-RevId: 944230250
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.

1 participant