RFR: 8341141: Optimize DirectCodeBuilder [v12]

Shaojin Wen swen at openjdk.org
Mon Sep 30 14:14:10 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 four additional commits since the last revision:

 - optimize setLabelTarget
 - optimize checkType
 - optimize labelBinding
 - optimize AttributeHolder::withAttribute

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21243/files
  - new: https://git.openjdk.org/jdk/pull/21243/files/8f678b3f..d1059c58

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

  Stats: 45 lines in 3 files changed: 18 ins; 17 del; 10 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