Skip to content

FFM testing branch#113

Open
sbSteveK wants to merge 24 commits into
mainfrom
ffm-java22
Open

FFM testing branch#113
sbSteveK wants to merge 24 commits into
mainfrom
ffm-java22

Conversation

@sbSteveK
Copy link
Copy Markdown
Contributor

@sbSteveK sbSteveK commented May 7, 2026

WIP testing branch of aws-crt-s3-benchmarks.

This will setup Java 22 for use with the final version of FFM.

DO NOT MERGE

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sbSteveK sbSteveK changed the base branch from main to c-looping-buffer May 7, 2026 20:24
sbSteveK added 12 commits May 7, 2026 14:32
FFMJavaTask.java:
- Override onResponseBody(MemorySegment,...) for zero-copy downloads
  (discards data as the benchmark only measures throughput)
- Implement sendRequestBody(long address, long length) -> int in
  UploadFromRamStream for direct-write uploads via MemorySegment.copy()
- Set withUseFFM(true) on S3MetaRequestOptions to activate FFM callbacks
- Add resetPosition() and getLength() to UploadFromRamStream

scripts/utils/build.py:
- Add --enable-native-access=ALL-UNNAMED to the java runner launch
  command (required for MemorySegment.ofAddress() on Java 22+)
Base automatically changed from c-looping-buffer to main May 12, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant