RFR: 8269736: Optimize CDS PatchEmbeddedPointers::do_bit() [v2]

Matias Saavedra Silva matsaave at openjdk.org
Mon Dec 19 15:45:29 UTC 2022


> The current implementation reads the narrow oop, decodes it using the "dump time" encoding, encodes it using "runtime" encoding, and then stores it back into the heap. In the cases where the dumptime and runtime shifts are equal, there is an opportunity to calculate the fixed distance between oops so they can be patched more optimally. Verified with tier 1, 2, and 4 tests.

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Removed extra include

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10863/files
  - new: https://git.openjdk.org/jdk/pull/10863/files/e8081051..6741a6df

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

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

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


More information about the hotspot-runtime-dev mailing list