RFR: 8352536: Add overloads to parse and build class files from/to MemorySegment [v5]
David M. Lloyd
duke at openjdk.org
Fri Mar 28 13:26:21 UTC 2025
On Thu, 27 Mar 2025 22:21:00 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> I have two problems with the numbers you measured:
>
> 1. The benchmarked transformation runs on pre-parsed class and does nothing, so technically it measures mainly the memory copy process.
> 2. In the discussions there were mentioned memory mapped files as a use case for the off-heap targeting of the classes.
>
> When I modify `ClassfileBenchmark` to replicate your scenario I get these numbers:
Can you share your changes?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24139#issuecomment-2761356027
More information about the core-libs-dev
mailing list