Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6825019
Votes 0
Synopsis DownloadManager should not be loaded and referenced for full JRE
Category java_deployment:jkernel
Reported Against
Release Fixed , 7(b64) (Bug ID:2176607)
State 3-Accepted, request for enhancement
Priority: 3-Medium
Related Bugs 6612680 , 6798873 , 6833260
Submit Date 01-APR-2009
Description
sun.jkernel.DownloadManager is only needed for Kernel JRE.

Full JRE should not need DownloadManager in any application run.  The kernel VM sets a flag indicating if the running jvm is a kernel VM (see struct jvm_version_info in jvm.h).  The JRE can use the VM interface to detect if it's in kernel JRE or not.

For FX video applet run, here is the number of invocations collected from the nb profile data:
   DownloadManager.getBootClassPathEntryForClass    1621
   DownloadManager.getBootClassPathEntryForResource 1632
   DownloadManager.isJREComplete                    1667
Posted Date : 2009-04-01 18:52:21.0
Work Around
N/A
Evaluation
This likely to be dup of 6612680.

On the related note while DownloadManager does not do anything useful 
in case of complete JRE it is unclear if these methods have any noticeable 
overhead. They should only check boolean value and return in case of full JRE
and this likely to be inlined by JIT.
Posted Date : 2009-04-02 12:38:59.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang