RFR: 8315549: CITime misreports code/total nmethod sizes
Aleksey Shipilev
shade at openjdk.org
Mon Sep 4 06:04:54 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
Thanks! Integrating under triviality rule. The GHA failure is unrelated.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15538#issuecomment-1704658933
More information about the hotspot-compiler-dev
mailing list