RFR: 8361180: Disable CompiledDirectCall verification with -VerifyInlineCaches
    Aleksey Shipilev 
    shade at openjdk.org
       
    Tue Jul  1 10:53:25 UTC 2025
    
    
  
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
-------------
Commit messages:
 - Fix
Changes: https://git.openjdk.org/jdk/pull/26063/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26063&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361180
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/26063.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26063/head:pull/26063
PR: https://git.openjdk.org/jdk/pull/26063
    
    
More information about the hotspot-compiler-dev
mailing list