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

Calvin Cheung ccheung at openjdk.org
Tue Dec 20 17:35:51 UTC 2022


On Tue, 20 Dec 2022 16:20:13 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 two additional commits since the last revision:
> 
>  - Ashutosh comments
>  - Fixed minimal and cross build

Updated change looks good. Thanks.

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

Marked as reviewed by ccheung (Reviewer).

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


More information about the hotspot-runtime-dev mailing list