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

JVM needs direct access to some annotations

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Currently annotation processing is all at the Java level. This works well, except for annotations which the low-level code of the JVM wants to look at.

        We want to inject programmer-written directives for VM-specific optimizations, and to experiment with special binding rules for other languages. This work will take place initially it the OpenJDK/mlvm project, and if it incubates well may be standardized.

        Current RFE is in two parts:

        1. put an annotation walker into the class file parser
        2. implement an annotation for decorating methods with Hotspot compiler oracle advice

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jrose John Rose
                Reporter:
                jrose John Rose
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: