RFR: 8362493: Cleanup CodeBuffer::copy_relocations_to

Manuel Hässig mhaessig at openjdk.org
Mon Jul 21 10:40:39 UTC 2025


On Thu, 17 Jul 2025 11:09:09 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Hi,
> Can you help to review this simple patch?
> 
> `CodeBuffer::copy_relocations_to(address buf, csize_t buf_limit, bool only_inst)` is only used in `copy_relocations_to(CodeBlob* dest)` which passes false to only_inst, so the former one should be able to be simplified.
> 
> Thank you!

Testing passed.

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

Marked as reviewed by mhaessig (Committer).

PR Review: https://git.openjdk.org/jdk/pull/26366#pullrequestreview-3037485780


More information about the hotspot-compiler-dev mailing list