JDK-8008290 : (profiles) Startup regression due to additional checking of JAR file manifests
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-15
  • Updated: 2013-04-12
  • Resolved: 2013-02-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b82Fixed
Related Reports
Relates :  
Relates :  
Description
This is a follow-up to JDK-8003255, where the original implementation to check the Profile attribute didn't include the optimization to avoid parsing the manifest when the word "profile" is not present in the manifest.
Comments
The following results are linux-x86 on a dual-core AMD Opteron 1220 @1.0 Ghz. footprint3_real / jetty comparing jdk8-b77 vs. jdk8-b78 and jdk8-b77 vs. TL (where TL = jdk8-b78 + fix for 8008290) $ compare logs.footprint3_real.b77 logs.footprint3_real.b78 ============================================================================== logs.footprint3_real.b77: Benchmark Samples Mean Stdev Geomean Weight footprint3_real 20 39117.40 304.60 ============================================================================== logs.footprint3_real.b78: Benchmark Samples Mean Stdev %Diff P Significant footprint3_real 20 52898.20 2278.55 -35.23 0.000 Yes ============================================================================== $ compare logs.footprint3_real.b77 logs.footprint3_real.tl ============================================================================== logs.footprint3_real.b77: Benchmark Samples Mean Stdev Geomean Weight footprint3_real 20 39117.40 304.60 ============================================================================== logs.footprint3_real.tl: Benchmark Samples Mean Stdev %Diff P Significant footprint3_real 20 40166.00 416.07 -2.68 0.000 Yes ============================================================================== startup3 / jetty comparing jdk8-b77 vs. jdk8-b78 and jdk8-b77 vs. TL (where TL = jdk8-b78 + fix for 8008290) $ compare logs.startup3.b77 logs.startup3.b78 ============================================================================== logs.startup3.b77: Benchmark Samples Mean Stdev Geomean Weight startup3 100 0.74 0.05 ============================================================================== logs.startup3.b78: Benchmark Samples Mean Stdev %Diff P Significant startup3 100 1.00 0.07 -35.84 0.000 Yes ============================================================================== $ compare logs.startup3.b77 logs.startup3.tl ============================================================================== logs.startup3.b77: Benchmark Samples Mean Stdev Geomean Weight startup3 100 0.74 0.05 ============================================================================== logs.startup3.tl: Benchmark Samples Mean Stdev %Diff P Significant startup3 100 0.77 0.04 -5.10 0.000 Yes ============================================================================== There is still a small regression at startup, this is due to the number of JAR files that Jetty opens (334) so more work may be required if this benchmark is important.
22-02-2013