[code-reflection] Integrated: Use existing code for creating KernelContext_s from its iface buffer schema

Gary Frost gfrost at openjdk.org
Sun Aug 17 12:42:12 UTC 2025


On Sun, 17 Aug 2025 12:35:29 GMT, Gary Frost <gfrost at openjdk.org> wrote:

> Previously we had custom code for creating KernelContext_s C99 code.  
> 
> We already had code which could create typedefed structs from iface schemas.
> 
> Now KernelContext is an iface mapped buffer we can use this same code.  This stops us from having tto manually ensure that the class and generated C99 code were in sync.

This pull request has now been integrated.

Changeset: bb4f7ff8
Author:    Gary Frost <gfrost at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/bb4f7ff8f94590f4e019a9c28c354e461ad91821
Stats:     50 lines in 2 files changed: 10 ins; 21 del; 19 mod

Use existing code for creating KernelContext_s from its iface buffer schema

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

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


More information about the babylon-dev mailing list