[code-reflection] Integrated: Hat add kernel code annotation

Gary Frost gfrost at openjdk.org
Thu Oct 16 13:08:41 UTC 2025


Tracking side table issue. 

Not fixed yet, but homing in.  

 I have moved all transforms (and traverses and stream access to ops) into central OpTK apis in preparation for having a single place for updating sidetables.
 
 I added a tracing mechanism for reporting accesses to transform, element stream access and traverses of funcops . This is useful for seeing where we are 'inadvertantly' transforming and possibly trashing sidetable.
 

java @hat/run ffi-opencl -DTRACE_CALLSITES=true life 


This PR was getting too large and I was worried about future merges. So I am pushing now.
This code still has the side table issue, but we have some tooling to help find it

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

Commit messages:
 - Merge branch 'code-reflection' into hat-add-kernel-code-annotation
 - Tracking down issue with side tables
 - Add annotation and fixup OpTk

Changes: https://git.openjdk.org/babylon/pull/612/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=612&range=00
  Stats: 4946 lines in 84 files changed: 2327 ins; 2203 del; 416 mod
  Patch: https://git.openjdk.org/babylon/pull/612.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/612/head:pull/612

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


More information about the babylon-dev mailing list