RFR [JEP 220] Modular Run-Time Images - compact profiles footprint

Xerxes Rånby xerxes at zafena.se
Thu Dec 4 12:58:54 UTC 2014


The footprint of the compact profiles have been inflated by ~12Mb each 
after the JEP 220 changes.

before
# du -s -h j2re-compact1-image
17.9M    j2re-compact1-image
# du -s -h j2re-compact2-image
28.7M    j2re-compact2-image
# du -s -h j2re-compact3-image
35.5M    j2re-compact3-image

after
# du -s -h jre-compact1
31.3M    jre-compact1
# du -s -h jre-compact2
41.5M    jre-compact2
# du -s -h jre-compact3
47.4M    jre-compact3

The attached file compact1.diff.tar.gz contains the list diff of the 
files bundled in the
j2re-compact1-image/lib/rt.jar compared to jre-compact1/lib/*.jimage
most of the class diff is located in

com/sun/security/ntlm
com/sun/crypto
javax/crypto
sun/net/www/protocol/http/ntlm
sun/net/www/protocol/ftp
sun/net/www/protocol/mailto
sun/net/ftp
sun/net/smtp
sun/net/dns
sun/util/resources <- a lot of extra internationalized classes
sun/security/ssl
sun/security/ec
sun/security/pkcs11
sun/text/resources <- a lot of extra internationalized classes

Cheers
Xerxes

Den 2014-11-20 22:41, Chris Hegarty skrev:
>> From: Chris Hegarty <chris.hegarty at oracle.com>
>> Subject: RFR [JEP 220] Modular Run-Time Images
>> Date: 20 November 2014 21:39:14 GMT
>> To: jigsaw-dev <jigsaw-dev at openjdk.java.net>, jdk9-dev <jdk9-dev at openjdk.java.net>, build-dev <build-dev at openjdk.java.net>, Alan Bateman <alan.bateman at oracle.com>, Alex Buckley <alex.buckley at oracle.com>, Chris Hegarty <chris.hegarty at oracle.com>, Erik Joelsson <erik.joelsson at oracle.com>, Jonathan Gibbons <jonathan.gibbons at oracle.com>, Karen Kinnear <karen.kinnear at oracle.com>, "Jim Laskey (Oracle)" <James.Laskey at oracle.com>, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com>, Mandy Chung <mandy.chung at oracle.com>, Mark Reinhold <mark.reinhold at oracle.com>, Paul Sandoz <paul.sandoz at oracle.com>, "A. Sundararajan" <sundararajan.athijegannathan at oracle.com>
>>
>> This is a review request for the changes for JEP 220: Modular Run-Time Images [1].
>>
>> There are a number of individuals responsible for these changes. Some, possibly not all, are explicitly listed in the 'To' section of this mail, and they will help address any comments arising from this review request.
>>
>> The new run-time image structure is defined in JEP 220 [1], and can be seen as a result of building the staging forest [2], or in the early access builds [3].
>>
>> Webrevs:
>>    http://cr.openjdk.java.net/~chegar/8061971/00/
>>
>> Due to the significant impact of these changes, a JDK 9 promotion has been tentatively reserved for their integration. All comments are welcome, although given the nature of the changes then we might have to create separate issues in JIRA to address some of them later in jdk9/dev.
>>
>> -Chris.
>>
>> [1] http://openjdk.java.net/jeps/220
>> [2] http://hg.openjdk.java.net/jigsaw/m2/
>> [3] http://openjdk.java.net/projects/jigsaw/ea



More information about the jdk9-dev mailing list