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

WB_IsMethodCompilable ignores compiler directives

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      Calling WB::isMethodCompilable(m) for a method m that cannot be compiled by either C1 or C2 due to a compiler directive (compileonly not including m, or excluding m) should return false. This, however, is not always the case since the ExcludeOption compiler directive is only evaluated lazily upon a compilation attempt. If m was not attempted to be compiled by C1 and/or C2, Method::is_not_compilable() returns false and thus WB::isMethodCompilable(m) returns true.

      This should be fixed by making WB_IsMethodCompilable aware of the ExcludeOption compiler directive.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chagedorn Christian Hagedorn
              Reporter:
              chagedorn Christian Hagedorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: