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

Reconsider how @Stable instance field support is implemented

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 9
    • 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.
       

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

              Created:
              Updated:
              Resolved: