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

Cleanup code around PrintOptoStatistics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b110
    • generic
    • generic

      src/share/vm/opto/parse1.cpp currently defines a number of global counters that is used to collect some statistics, but this data is only displayed in non-product builds if run with -XX:+PrintOptoStatistics. These counters should be masked from product builds.

      A few of the counters are dead code, and others, like implicit_null_throws seems to have been moved to SharedRuntime a long time ago without updating print_statistics

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: