Integrated: 8315549: CITime misreports code/total nmethod sizes

Aleksey Shipilev shade at openjdk.org
Mon Sep 4 06:04:55 UTC 2023


On Fri, 1 Sep 2023 14:52:49 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> If you run with -XX:+CITime, then it would print the odd data:
> 
> 
> % build/macosx-aarch64-server-fastdebug/images/jdk/bin/java -Xcomp -XX:+CITime Hello.java
> 
> ...
>   nmethod code size : 42544128 bytes
>   nmethod total size : 23678448 bytes
> 
> 
> Note how `total` is smaller than `code`! This is just a simple problem in printing code. 
> 
> Additional testing:
>  - [x] Eyeballing `-XX:+CITime` output

This pull request has now been integrated.

Changeset: ab12c5d3
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ab12c5d32fede04cbbf8c86b6461a0c71404cd69
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8315549: CITime misreports code/total nmethod sizes

Reviewed-by: kvn

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

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


More information about the hotspot-compiler-dev mailing list