RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS (original) (raw)
Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon Oct 8 09:07:19 UTC 2018
- Previous message (by thread): RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS
- Next message (by thread): RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Volker, Aleksey,
Voker, your change looks good.
I also think CDS should be turned off on minimal VM, and also the case for zero a few lines below should be removed in a similar manner. But I'll leave to you whether you want to handle that in a separate fix.
Best regards, Goetz.
-----Original Message----- From: hotspot-runtime-dev <hotspot-runtime-dev-_ _bounces at openjdk.java.net> On Behalf Of Volker Simonis Sent: Montag, 8. Oktober 2018 10:19 To: build-dev <build-dev at openjdk.java.net>; hotspot-runtime- dev at openjdk.java.net runtime <hotspot-runtime-dev at openjdk.java.net> Subject: RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLECDS
Hi, can I please have a review for the following trivial build fix: http://cr.openjdk.java.net/~simonis/webrevs/2018/8211837/ https://bugs.openjdk.java.net/browse/JDK-8211837 It makes no sense to try to create a default CDS archive on VMs which don't support CDS at all. We already have '--enablecds' which defaults to 'true' on all platforms except AIX. The check for '--enablecdsarchive' should use the result of '--enablecds' (which is saved in "ENABLECDS") and only enable default archive creation if CDS is enabled. Failure to do so currently breaks the AIX build (after JDK-)8202951 was pushed). Thank you and best regards, Volker
- Previous message (by thread): RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS
- Next message (by thread): RFR(XS): 8211837: Creation of the default CDS Archive should depend on ENABLE_CDS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]