RFR: 8361180: Disable CompiledDirectCall verification with -VerifyInlineCaches
    Aleksey Shipilev 
    shade at openjdk.org
       
    Wed Jul  2 05:40:42 UTC 2025
    
    
  
On Tue, 1 Jul 2025 10:47:40 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Missed the spot when doing [JDK-8360867](https://bugs.openjdk.org/browse/JDK-8360867). There is a path from GC that calls into IC verification when cleaning the caches. See `nmethod::cleanup_inline_caches_impl`. It does verification per callsite, and does the whole thing during parallel GC cleanup, which is STW at least in G1. This gets expensive for CTW scenarios. We should wrap that under the same flag introduced by [JDK-8360867](https://bugs.openjdk.org/browse/JDK-8360867).
> 
> Motivational improvements:
> 
> 
> $ time CONF=linux-x86_64-server-fastdebug make test TEST=applications/ctw/modules/
> 
> # Current mainline
> real	3m59.274s
> user	68m9.663s
> sys	5m19.026s
> 
> # This PR
> real	3m49.118s
> user	65m37.962s
> sys	5m15.441s
Thanks! Here goes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26063#issuecomment-3026519823
    
    
More information about the hotspot-compiler-dev
mailing list