JDK-6867496 : Add plugin-specific classes.jsa
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2009-07-31
  • Updated: 2014-07-30
  • Resolved: 2012-04-06
Related Reports
Relates :  
Relates :  
Description
Including deployment classes into classes.jsa improves warm start time for plugin benchmarks (by 2-3%) but 
increase of size of classes.jsa have negative impact on other benchmarks.
See experiment details in the comments section.

What needs to be done:
  1) add second classlist to the install bundle (e.g. one attached)
  2) update installer to generate 2 classes.jsa files
     (by replacing classlist file and running dump procedure twice)
  3) update plugin to pass additional parameter to VM
     (prerequirement is to have 6867494 implemented on VM side)

Comments
EVALUATION Closing this CR for now as applicability of shared class archive in the module environment is questionable. Need to measure perf impact again anyways.
06-04-2012

EVALUATION Preliminary experiments raised some concerns on possible sideeffects on this change (perf regressions for other applications is still unexplained). Also, in case of plugin we share VM between multiple applets anyway, so benefits from sharing will be less noticeable. Need further analysis whether this helps much. Should not commit to 6u18 at this point.
26-08-2009