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

CITime misreports code/total nmethod sizes

    XMLWordPrintable

Details

    • b14

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: