Reconsider how @Stable instance field support is implemented

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None

      Current approach with checking for non-default value at every place where ciField::is_constant is used is error-prone.
      It looks feasible to separate is_constant() and is_stable() properties for instance fields and have additional check for stable and non-default value in the code to make optimization happen.
       

            Assignee:
            Vladimir Ivanov
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: