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

Compiler Control: Log which directives are used

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      We would like some way of logging what directive was used to compile a method.
      This is both to be able to verify that a directive is added correctly and applies to the methods the user expect; and when debugging customer problems to see if a directive is being added from somewhere that affects compilations.

      Might be done by having a flag that enables logging when a directive is added or removed with an unique id, and a column with directive id in printcompilation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neliasso Nils Eliasson
                Reporter:
                aeriksso Andreas Eriksson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: