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

Ioi Lam iklam at openjdk.org
Wed Dec 21 05:32:51 UTC 2022


On Tue, 20 Dec 2022 23:25:12 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.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Ioi comment

Marked as reviewed by iklam (Reviewer).

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

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


More information about the hotspot-runtime-dev mailing list