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

Cleanup code around PrintOptoStatistics

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b110
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: