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

JEP-JDK-8046155: Test task: directive parser

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b92

        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

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

                Created:
                Updated:
                Resolved: