RFR: 8341006: Optimize StackMapGenerator detect frames [v3]

Shaojin Wen swen at openjdk.org
Thu Oct 3 13:15:10 UTC 2024


> 1. Construct Frames directly without BitSet
> 2. Use Frame[] instead of ArrayList
> 3. Use EMPTY_FRAME_ARRAY for initialization. No need to allocate objects when there is no frame.

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

  reduce codeSize

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21183/files
  - new: https://git.openjdk.org/jdk/pull/21183/files/905acdda..aa390010

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

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

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


More information about the core-libs-dev mailing list