RFR: 8339317: Optimize ClassFile writeBuffer

Shaojin Wen swen at openjdk.org
Fri Aug 30 12:20:31 UTC 2024


A small optimization, optimize the BufferWriter implementation and use of ClassFile, provide faster patchInt and skip

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

Commit messages:
 - Suggestions from @cl4es
 - fix build error
 - remove BufWriter#patchInt
 - optimize BufWriterImpl#patchInt

Changes: https://git.openjdk.org/jdk/pull/20780/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20780&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339317
  Stats: 48 lines in 8 files changed: 28 ins; 0 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/20780.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20780/head:pull/20780

PR: https://git.openjdk.org/jdk/pull/20780


More information about the core-libs-dev mailing list