Cleanup code around PrintOptoStatistics

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: