Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315549

CITime misreports code/total nmethod sizes

XMLWordPrintable

    • b14

        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.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: