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

Use more primordial constructs in the FFM implementations to allow earlier use

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 22, 23
    • core-libs

      Some implementing classes in the FFM API use Streams, lambdas, and other constructs that cannot be used early in the init process. Some of these constructs also entail spinning bytecode which will have a detrimental impact on startup time. It is likely that, over time, the FFM API will be used to replace JNI and other native operations in the JDK internals.

      Therefore, we should explore replacing said constructs with more primordial variants. This would provide two main advantages:

      * The ability to use FFM earlier in the init phase
      * Faster startup

      The tradeoff would be giving up some readability.

            liach Chen Liang
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: