[code-reflection] Integrated: Unified access type info.. also removed dead optkl.Trxfmr code
Gary Frost
gfrost at openjdk.org
Wed Dec 31 14:23:08 UTC 2025
On Wed, 31 Dec 2025 14:16:36 GMT, Gary Frost <gfrost at openjdk.org> wrote:
> We had duplicated code handling access info (RW/RO/WO etc) to handle annotations and enums.
>
> I merged the code here so the enum also matches the annotation info. This way we keep them in sync.
>
> I was concerned we may change the byte descripor bit positions in one place and spend days debugging (not realizing we had another supposedly identical byte layout).
>
> I moved this down info the iface mapper (from the Buffer Tracker)
>
> This greatly simplified handling this data in ArgArray buffer code. Which was bridging the two representations.
>
> Also removed some dead code in optkl.Trxfmr.
This pull request has now been integrated.
Changeset: 331af889
Author: Gary Frost <gfrost at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/331af889a36b4bc9f418842b80f1504c0b5ab1f3
Stats: 277 lines in 5 files changed: 114 ins; 111 del; 52 mod
Unified access type info.. also removed dead optkl.Trxfmr code
-------------
PR: https://git.openjdk.org/babylon/pull/799
More information about the babylon-dev
mailing list