Integrated: 8362493: Cleanup CodeBuffer::copy_relocations_to
    Hamlin Li 
    mli at openjdk.org
       
    Mon Jul 21 11:13:50 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!
This pull request has now been integrated.
Changeset: fd7f78a5
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fd7f78a5351a5b00bc9a3173e7671afe2d1e6fe4
Stats:     10 lines in 2 files changed: 1 ins; 6 del; 3 mod
8362493: Cleanup CodeBuffer::copy_relocations_to
Reviewed-by: mhaessig, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/26366
    
    
More information about the hotspot-compiler-dev
mailing list