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

jsr166 refresh for jdk19

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 11.0.10-oracle
    • core-libs
    • None

      [Renamed from "ForkJoinPool initialization interferes with other static initialization", because the related changes can't be disentangled.]

      This CR mainly provides updates enabling planned loom and related jdk enhancements. The main goal is to streamline initialization by removing other JDK dependencies including VarHandles, and access control (currently only when deprecated SecurityManagers are not used; eventually further removable). It also includes performance improvements for async usages, as well as a few new methods (ForkJoinPool.lazySubmit and setParallelism) needed by other jdk enhancements. Also, to simplify upcoming integrations, it includes java.util.concurrent API updates in Future and ExecutorService that are introduced by loom, but do not directly involve VirtualThreads, and are independently useful.

            dl Doug Lea
            dl Doug Lea
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: