RFR: 8315549: CITime misreports code/total nmethod sizes

Vladimir Kozlov kvn at openjdk.org
Fri Sep 1 18:42:41 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

Trivial

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15538#pullrequestreview-1607479167


More information about the hotspot-compiler-dev mailing list