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

Consider saving cache entries in the background

    Details

    • CPU:
      generic
    • OS:
      generic

      Description

      Generation of index files is not cheap process and it is not strictly needed to process with application startup. All we need is available in the jar file and we need to read it on first start anyway.

      We should explore possibility to spawn background task to complete index file generation, so it will not block application startup. This should help to improve coldcache startup and well as startup after new lazy jars were loaded.

      Note that javaws -import should wait till index file generation is finished. Other applications may exit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                igor Igor Nekrestyanov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: