RFR: 8339317: Optimize ClassFile writeBuffer [v7]

Chen Liang liach at openjdk.org
Thu Sep 5 23:06:52 UTC 2024


On Thu, 5 Sep 2024 22:47:00 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> A small optimization, optimize the BufferWriter implementation and use of ClassFile, provide faster patchInt and skip
>
> Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 13 commits:
> 
>  - Merge remote-tracking branch 'origin/class_file_buf_writer_imp_202408_patch_int' into class_file_buf_writer_imp_202408_patch_int
>  - Eliminate redundant variables
>  - buf skip
>  - Merge remote-tracking branch 'upstream/master' into class_file_buf_writer_imp_202408_patch_int
>    
>    # Conflicts:
>    #	src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java
>  - Merge remote-tracking branch 'upstream/master' into class_file_buf_writer_imp_202408_patch_int
>  - Merge remote-tracking branch 'upstream/master' into class_file_buf_writer_imp_202408_patch_int
>  - revert skip
>  - Update src/java.base/share/classes/jdk/internal/classfile/impl/BufWriterImpl.java
>    
>    Co-authored-by: Claes Redestad <claes.redestad at oracle.com>
>  - Update src/java.base/share/classes/jdk/internal/classfile/impl/Util.java
>    
>    Co-authored-by: Claes Redestad <claes.redestad at oracle.com>
>  - Suggestions from @cl4es
>  - ... and 3 more: https://git.openjdk.org/jdk/compare/8fb8cd85...e7f57a6f

Marked as reviewed by liach (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/20780#pullrequestreview-2284271490


More information about the core-libs-dev mailing list