[code-reflection] Withdrawn: Code model attribute hard-coded
duke
duke at openjdk.org
Wed Jan 29 13:41:11 UTC 2025
On Wed, 4 Dec 2024 10:35:33 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> 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.
>
> Compiled size of the BytecodeTest class (with text-encoded code models) is 127531 bytes (30486 bytes as compressed in Jar), CP contains 1612 entries.
> Cleaned size of the class (removed text-encoded code models and their static initialization) is 39044 bytes (16108 bytes in Jar), CP contains 1277 entries.
> Size with models encoded in custom attributes is 57206 bytes (23114 bytes in Jar), CP contains 1452 entries.
>
> Text-encoded code models add 88487 bytes (14378 bytes in Jar) and 335 CP entries to the class;
> CodeModel attributes add only 18162 bytes (7006 bytes in Jar) and 175 CP entries.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/babylon/pull/290
More information about the babylon-dev
mailing list