[code-reflection] RFR: Code model attribute hard-coded

Adam Sotona asotona at openjdk.org
Wed Dec 4 10:56:39 UTC 2024


This is yet another experimental serialization of code model into a custom method attribute.
It is based on #282 with all the ops tagged and hard-coded and a bit better utilization of constant pool.

Proportional size of the custom attributes vs. text-encoded fields is 21% (16% of the CP entries).

-------------

Commit messages:
 - code cleanup
 - code cleanup
 - Hard-coded CodeModelAttribute work in progress
 - Hard-coded CodeModelAttribute work in progress
 - Hard-coded CodeModelAttribute work in progress
 - Hard-coded CodeModelAttribute work in progress
 - Hard-coded CodeModelAttribute work in progress
 - typo
 - CodeModelAttribute structure cleanup + javadoc work in progress
 - CodeModeAtrtribute documentation work in progress
 - ... and 7 more: https://git.openjdk.org/babylon/compare/9afe3b74...7a94d8db

Changes: https://git.openjdk.org/babylon/pull/290/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=290&range=00
  Stats: 1099 lines in 6 files changed: 1093 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/babylon/pull/290.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/290/head:pull/290

PR: https://git.openjdk.org/babylon/pull/290


More information about the babylon-dev mailing list