[code-reflection] Withdrawn: Code model attribute
duke
duke at openjdk.org
Wed Jan 29 13:42:11 UTC 2025
On Tue, 26 Nov 2024 13:53:32 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> This is experimental serialization of code model into a custom method attribute.
>
> I've performed brief comparison on `BytecodeTest` as a representant of class with majority of methods annotated with `@CodeReflection`.
>
> Compiled size of the `BytecodeTest` class (with text-encoded code models) is 121288 bytes, CP contains 1612 entries.
> Cleaned size of the class (removed text-encoded code models and their static initialization) is 32801 bytes, CP contains 1277 entries.
> Size with models encoded in custom attributes is 74541 bytes, CP contains 1435 entries.
>
> Proportional size of the custom attributes vs. text-encoded fields is 37% (47% of the CP entries).
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/babylon/pull/282
More information about the babylon-dev
mailing list