RFR: 8341141: Optimize DirectCodeBuilder [v2]

Shaojin Wen swen at openjdk.org
Sun Sep 29 09:43:49 UTC 2024


> Some DirectCodeBuilder related optimizations to improve startup and running performance:
> 1. Merge calls, merge writeU1 and writeU2 into writeU3
> 2. Merge calls, merge writeU1 and writeIndex operations
> 3. Directly use writeU1 instead of writeBytecode
> 4. Rewrite the implementation of load and store

Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:

  use array instead of ArrayList

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21243/files
  - new: https://git.openjdk.org/jdk/pull/21243/files/2c3d4f12..3cb16578

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21243&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21243&range=00-01

  Stats: 44 lines in 1 file changed: 25 ins; 0 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/21243.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21243/head:pull/21243

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


More information about the core-libs-dev mailing list