Skip to content

Add shared runtime codegen serde machinery - #1353

Open
adwsingh wants to merge 1 commit into
mainfrom
adwsingh/runtime-codegen-serde-common
Open

adwsingh wants to merge 1 commit into
mainfrom
adwsingh/runtime-codegen-serde-common

Conversation

@adwsingh

@adwsingh adwsingh commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

What behavior changes?

Adds opt-in runtime codec generation on JDK 25 with disabled, enabled, and strict modes; default interpreted serde behavior remains unchanged.

Why is this change needed?

Provides shared schema planning, caching, hidden-class publication, and Java 21-compatible bytecode recording for protocol-specific generated codecs.

How was this validated?

Covered by plan, registry, feature-resolution, and bytecode visitor tests, plus the Java 21 compatibility suite and JDK 25 compilation.

What should reviewers focus on?

Review RuntimeCodecPlan accessor resolution, RuntimeCodecRegistry identity-based caching and strict outcomes, and the multi-release classfile bridge.

Additional Links

Base of the runtime-codegen stack; followed by #1358.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@adwsingh
adwsingh marked this pull request as draft September 7, 2026 19:39
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 7 times, most recently from 04813e4 to aa63a60 Compare September 8, 2026 00:10
@adwsingh
adwsingh changed the base branch from adwsingh/dispatch-serde-header-normalization to adwsingh/serde-wide-types-benchmarks September 8, 2026 00:11
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 2 times, most recently from 9ba6fe8 to 5fee636 Compare September 8, 2026 14:46
@adwsingh
adwsingh changed the base branch from adwsingh/serde-wide-types-benchmarks to adwsingh/dispatch-serde-base64-scratch September 8, 2026 14:51
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch from 5fee636 to 7a3a47d Compare September 8, 2026 15:11
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 2 times, most recently from 2a1b727 to c2c5d83 Compare September 8, 2026 18:50
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 2 times, most recently from d612e2c to cd05b57 Compare September 9, 2026 00:50
@adwsingh
adwsingh marked this pull request as ready for review September 9, 2026 00:54
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch from cd05b57 to ad48730 Compare September 9, 2026 10:55
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch from ad48730 to 1990108 Compare September 9, 2026 11:27
Base automatically changed from adwsingh/dispatch-serde-base64-scratch to main September 9, 2026 11:28
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 2 times, most recently from bbaee36 to cd05b57 Compare September 9, 2026 12:18
@adwsingh
adwsingh requested a review from mtdowling September 9, 2026 18:47
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch 2 times, most recently from e7d3507 to 810d703 Compare September 9, 2026 19:55
@adwsingh
adwsingh force-pushed the adwsingh/runtime-codegen-serde-common branch from 810d703 to 4e42953 Compare September 10, 2026 18:02
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