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

Remove TimeLivenessAnalysis

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      The TimeLivenessAnalysis develop flag can be used to "profile" time spent doing method liveness analysis, which might have been useful during its inception but unlikely since.

      To boot, the implementation leaves a few breadcrumbs in release/product builds that might actually add a bit of overhead:
      - a number of unused static elapsedTimers
      - TraceTime calls wrapping various phases - these constructors are not inlineable so the calls are not optimized away (but at least they don't issue any calls to get the actual time)

      Removing or ifdef:ing out these has a small effect on generated code size.

      I propose removing the flag and the timing code, alternatively cleaning up so all timing related code is ifdef'ed away.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: