JingsongLi opened a new pull request, #8867:
URL: https://github.com/apache/paimon/pull/8867

   ## What changed
   
   - Add an off-heap mode to `CacheManager`.
   - Copy loaded cache pages into off-heap `MemorySegment`s.
   - Make `CacheManager` closeable so invalidating the caches releases retained 
segments.
   
   ## Why
   
   Local lookup users backed by managed memory need the block cache to reside 
outside the JVM heap. The existing cache always wrapped heap byte arrays and 
had no explicit lifecycle hook.
   
   ## Validation
   
   - `mvn -q -pl paimon-common -Pfast-build -DwildcardSuites=none 
-Dtest=CacheManagerTest test`
   - `mvn -q -pl paimon-common spotless:check -DskipTests`
   - `mvn -q -pl paimon-common -DskipTests compile`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to