Details
-
Type:
Enhancement
-
Status: New
-
Priority:
P4
-
Resolution: Unresolved
-
Affects Version/s: 8u112
-
Fix Version/s: None
-
Component/s: embedded
-
Labels:
-
CPU:x86
-
OS:linux
Description
A DESCRIPTION OF THE REQUEST :
Even though there already 3 compact profiles defined, that allow generating a jre with smaller footprint, it would be useful to add the capability of generating a jre that contains only the classes that are used by an application. The jre could be generated as part of the compilation.
JUSTIFICATION :
Reduce the footprint (disk and memory) of the jre
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Modify jrecreate so that, instead of accepting as input one of the pre-defined compact profile, the tool takes as input the full path of a jar, infers the list of classes required by thr application and creates a jre that contains only those classes
Even though there already 3 compact profiles defined, that allow generating a jre with smaller footprint, it would be useful to add the capability of generating a jre that contains only the classes that are used by an application. The jre could be generated as part of the compilation.
JUSTIFICATION :
Reduce the footprint (disk and memory) of the jre
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Modify jrecreate so that, instead of accepting as input one of the pre-defined compact profile, the tool takes as input the full path of a jar, infers the list of classes required by thr application and creates a jre that contains only those classes