[lworld] Integrated: 8279624: [lworld] interpreter should avoid value copies in withfield when possible
    Frederic Parain 
    fparain at openjdk.java.net
       
    Wed Jan 12 18:55:45 UTC 2022
    
    
  
On Fri, 7 Jan 2022 13:57:59 GMT, Frederic Parain <fparain at openjdk.org> wrote:
> Please review this small change to reduce the number of copies the interpreter does when executing the withfield bytecode.
> If the new value of the field to be updated is identical to the old value of the field, the interpreter simply returns the original value instance instead of creating a new copy.
> This change removes more than 8K value copies when running the hotspot_valhalla test suite.
> 
> Tested with Mach5, tiers 1 to 3.
> 
> Thank you
> 
> Fred
This pull request has now been integrated.
Changeset: 3444c29d
Author:    Frederic Parain <fparain at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/3444c29dbd7049c630ebd9f566737708550d3db3
Stats:     40 lines in 1 file changed: 39 ins; 1 del; 0 mod
8279624: [lworld] interpreter should avoid value copies in withfield when possible
Reviewed-by: dsimms
-------------
PR: https://git.openjdk.java.net/valhalla/pull/595
    
    
More information about the valhalla-dev
mailing list