Integrated: 8360867: CTW: Disable inline cache verification

Aleksey Shipilev shade at openjdk.org
Mon Jun 30 12:58:52 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`

This pull request has now been integrated.

Changeset: aa191119
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/aa1911191cf8c2b855268a76baf0757909d66d1b
Stats:     6 lines in 3 files changed: 6 ins; 0 del; 0 mod

8360867: CTW: Disable inline cache verification

Reviewed-by: kvn, thartmann

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

PR: https://git.openjdk.org/jdk/pull/26016


More information about the hotspot-dev mailing list