RFR: JDK-8188312 Use CDS if present when running the Boot JDK during build

David Holmes david.holmes at oracle.com
Tue Oct 3 10:28:23 UTC 2017

Hi Magnus,

As I just put in the bug report, it isn't quite this simple. You have to 
be able to tolerate/recover from failure to map the shared archive.


On 3/10/2017 8:24 PM, Magnus Ihse Bursie wrote:
> We should use CDS to minimize Java startup time during build. We run 
> multiple Java commands, and every second counts.
> On my machine, I get a ~3% build time speedup with this fix.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8188312
> WebRev: 
> http://cr.openjdk.java.net/~ihse/JDK-8188312-use-CDS-for-bootjdk/webrev.01
> /Magnus

More information about the build-dev mailing list