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

C1: Missing side effects of dynamic constant linkage

    XMLWordPrintable

Details

    • b11

    Backports

      Description

        C1 handles unresolved dynamic constants by performing constant resolution at runtime and then putting the constant value into the generated code by patching it. But it treats the not-yet-resolved value as a pure constant without any side effects. It's not the case for dynamic constants which are produced by a user-defined bootstrap method and there are no guarantees that it doesn't have any side effects.

        Attachments

          Issue Links

            Activity

              People

                vlivanov Vladimir Ivanov
                vlivanov Vladimir Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: