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

Make boot loader lazier when class data sharing is enabled

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • hotspot
    • mustang
    • 6
    • b43
    • generic
    • generic

      Experiments have shown that opening rt.jar takes a significant amount of time in particular during cold start of the JVM. When this jar file is opened, a one-megabyte ZIP index must be read, causing a lot of disk seek activity when the file is not in the disk cache. When class data sharing is enabled, the JVM does not need to open rt.jar for the purpose of loading the dependent classes of most small applications, since those classes are already in the shared archive. We need to make the boot loader lazier so that in the common case we can avoid opening rt.jar in the JVM. More work could be done here, including splitting up rt.jar into smaller pieces, but this is beyond the scope of this particular RFE.

      ###@###.### 2005-06-01 18:55:02 GMT

            kbr Kenneth Russell (Inactive)
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: