RFR: 8269736: Optimize CDS PatchEmbeddedPointers::do_bit() [v3]
Ashutosh Mehra
duke at openjdk.org
Tue Dec 20 18:22: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
Marked as reviewed by ashu-mehra at github.com (no known OpenJDK username).
@matias9927 thanks for making the changes. lgtm!
-------------
PR: https://git.openjdk.org/jdk/pull/10863
More information about the hotspot-runtime-dev
mailing list