Support for array constants in constant table

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 19
    • Component/s: hotspot
    • b10
    • generic
    • generic

      Currently, we only support constants of some primitive types (int, long, float, double, pointer). As a result, operations involving more sophisticated constants (vectors, lookup tables, etc) need to either rely on stubRoutine generator or a workaround if the constants are not available in start-up time (e.g vector broadcast of constants).

      Array constants provide a more flexible way to use constants in generated code, which leads to the ability to use more optimal operations more easily. Also, support for array constants, in principle, allows us to reinterpret those as any possible constants.

            Assignee:
            Quan Anh Mai
            Reporter:
            Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: