[code-reflection] Integrated: Hat replace bitfield min bufffer with state machine

Gary Frost gfrost at openjdk.org
Thu Mar 20 15:18:02 UTC 2025


The previous bitfield based state info replaced by a simpler state machine. 

Also here we are able to minimize copies when buffers 'escape'.  If the escaping function annotates its buffer arg RO,RW or WO then HAT can avoid at leas one copy.

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

Commit messages:
 - Injection of pre/post access methods now snoops access annotations
 - removed bit state information from BufferState. We use state machine now

Changes: https://git.openjdk.org/babylon/pull/366/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=366&range=00
  Stats: 674 lines in 15 files changed: 149 ins; 408 del; 117 mod
  Patch: https://git.openjdk.org/babylon/pull/366.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/366/head:pull/366

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


More information about the babylon-dev mailing list