Integrated: 8269736: Optimize CDS PatchEmbeddedPointers::do_bit()
Matias Saavedra Silva
matsaave at openjdk.org
Wed Dec 21 15:36:56 UTC 2022
On Tue, 25 Oct 2022 20:56:10 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 65442a2e
Author: Matias Saavedra Silva <matsaave at openjdk.org>
Committer: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/65442a2e26afa7c31b5949e7e20606e4066ced3b
Stats: 114 lines in 6 files changed: 88 ins; 17 del; 9 mod
8269736: Optimize CDS PatchEmbeddedPointers::do_bit()
Reviewed-by: ccheung, iklam
-------------
PR: https://git.openjdk.org/jdk/pull/10863
More information about the hotspot-runtime-dev
mailing list