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

Support for array constants in constant table

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • 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.

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

              Created:
              Updated:
              Resolved: