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

JEP-JDK-8046155: Test task: directive parser

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b92

      Backports

        Description

        Test Compiler Control's directive parsing

        Test case verification scenario:
        1. Make directives file and run VM.
        2. If directives file is malformed, check output for warning and that VM exited.
        3. Test that only the first directive is applied whose pattern matches to a compilation.
        4. Check all directives are in place by dumping them via -XX:CrashAt= and VM option -XX:+CompilerControlDumpOnCrash
         JEP says: "For verification purposes the current set of directives can be dumped from diagnostic command. The directives will also be printed when the compiler or VM enters a fatal state."
         Another solution is to make a WB method to dump directives

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ppunegov Pavel Punegov
                  Reporter:
                  ppunegov Pavel Punegov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: