RFR: 8360867: CTW: Disable inline cache verification

Vladimir Kozlov kvn at openjdk.org
Fri Jun 27 15:02:19 UTC 2025


On Fri, 27 Jun 2025 10:30:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> In CTW profiling, I noticed we spend a lot of time doing inline cache verification when nmethods are unloaded. Due to the nature of CTW, we unload _a lot_ of nmethods. Since the goal for CTW is to stress the compilers themselves, not inline caches in particular (I assume those are blank even, given almost no real code is executed), it makes sense to disable that verification for CTW. 
> 
> A taste of performance improvement, about 2%:
> 
> 
> $ time CONF=linux-x86_64-server-fastdebug make test TEST=applications/ctw/modules
> 
> # Current
> real	5m1.616s
> user	79m41.398s
> sys	14m39.607s
> 
> # No verify inline caches
> real	4m52.239s
> user	77m41.886s
> sys	14m25.352s
> 
> 
> Additional testing:
>  - [x] Linux x86_64 server {fastdebug,release}, `applications/ctw/modules`

Good.

-------------

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26016#pullrequestreview-2966883772


More information about the hotspot-dev mailing list