RFR: 8352536: Add overloads to parse and build class files from/to MemorySegment [v4]
Adam Sotona
asotona at openjdk.org
Thu Mar 27 16:04:16 UTC 2025
On Thu, 27 Mar 2025 15:19:37 GMT, David M. Lloyd <duke at openjdk.org> wrote:
>> Provide method overloads to the ClassFile interface of the java.lang.classfile API which allow parsing of classes found in memory segments, as well as allowing built class files to be output to them.
>
> David M. Lloyd has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove some missed dead code, update copyrights
As the parsing benefits are none due to the memory copy.
May I see at least the benefits of direct writing to memory mapped files on some benchmark?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24139#issuecomment-2758581486
More information about the core-libs-dev
mailing list