JDK-8303519 : Replace Binding.Context with an arena
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.foreign
  • Affected Version: repo-panama
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-03-02
  • Updated: 2023-03-02
  • Resolved: 2023-03-02
Related Reports
Relates :  
Description
A binding context used to be defined in terms of two orthogonal components: a segment allocator and a resource scope.

Both these aspects are now modeled using an Arena, so we can simplify the linker implementation by just using SegmentAllocators/Arenas instead of a dedicated Binding.Context class.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/panama-foreign/pull/807 Date: 2023-03-02 14:46:03 +0000
02-03-2023