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

Add abort type description to RTM statistic counters

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      linux

      Description

      Currently, -XX:+PrintPreciseRTMLockingStatistics prints RTM abort and lock statistics per type mentioning only the type number, like:

      - * # rtm locks total (estimated): 0
      - * # rtm lock aborts : 13
      - * # rtm lock aborts 0: 12
      - * # rtm lock aborts 1: 0
      - * # rtm lock aborts 2: 0
      - * # rtm lock aborts 3: 0
      - * # rtm lock aborts 4: 0
      - * # rtm lock aborts 5: 0

      It's a bit difficult to remember all types given the numbers, hence adding descriptions for each type will help a lot to read the statistics without referring to the source code, like:

      + * # rtm locks total (estimated): 10000
      + * # rtm lock aborts (total): 9000
      + * # rtm lock aborts 0 (abort instruction ): 8999
      + * # rtm lock aborts 1 (may succeed on retry): 8999
      + * # rtm lock aborts 2 (conflict ): 0
      + * # rtm lock aborts 3 (buffer overflow ): 1
      + * # rtm lock aborts 4 (debug or trap hit ): 0
      + * # rtm lock aborts 5 (maximum nested depth): 0

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gromero Gustavo Romero
              Reporter:
              gromero Gustavo Romero
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: