RFR: 8311906: Improve robustness of String constructors with mutable array inputs [v2]
    Roger Riggs 
    rriggs at openjdk.org
       
    Thu Nov  9 15:15:59 UTC 2023
    
    
  
On Thu, 9 Nov 2023 09:07:31 GMT, Chen Liang <liach at openjdk.org> wrote:
> Just curious, how does benchmark StringConstructor.newStringFromCharsMixedBegin change before and after this patch? If we can see how much of an impact this has on CJK strings it would be appreciated.
You may have better insights from doing your own runs on your own systems.
Here's a sample from a recent run. Mostly small improvements and a few small negatives.
Benchmark                       Linux aarch64 | Linux x64 | MacOSX aarch64 | MacOSX x64
newStringFromCharsMixedBegin-size:64 |  1.22% |  0.91%    | -0.81%         |  1.08%
newStringFromCharsMixedBegin-size:7  |  4.40% |  0.26%    | -1.88%         |  4.60%
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16425#discussion_r1388152228
    
    
More information about the hotspot-dev
mailing list