RFR: 8305757: Call Method::compute_has_loops_flag() when creating CDS archive [v3]

Ioi Lam iklam at openjdk.org
Mon Apr 17 17:14:03 UTC 2023


> A simple optimization -- call Method::compute_has_loops_flag() for all methods during CDS archive dump. This way, the JIT doesn't need to do this at runtime.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  Move the optimization into MetaspaceShared::try_link_class() where it more naturally belong

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13390/files
  - new: https://git.openjdk.org/jdk/pull/13390/files/fe57e789..9f5ef50d

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

  Stats: 17 lines in 4 files changed: 13 ins; 4 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13390.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13390/head:pull/13390

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


More information about the hotspot-runtime-dev mailing list