RFR(S): 8197906: Enable CDS mode execution of jtreg tests via make

Igor Ignatyev igor.ignatyev at oracle.com
Wed Feb 14 04:41:55 UTC 2018


Hi Misha,

have you check that it works on windows w/ GENERATE_CDS_ARCHIVE=true? it seems that you should called GETMIXEDPATH in CDS_VM_ARGS:
> CDS_VM_ARGS := -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=$(CDS_ARCHIVE_FILE)
vs
> CDS_VM_ARGS := -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=$(shell $(GETMIXEDPATH) "$(CDS_ARCHIVE_FILE)")

otherwise, tests won't be able to find cds archive during test execution.

-- Igor 

> On Feb 13, 2018, at 8:17 PM, Mikhailo Seledtsov <mikhailo.seledtsov at oracle.com> wrote:
> 
> Please review this small change that enables execution of any jtreg test(s) in CDS mode
> via make. Please see bug description for details.
> 
> Thanks to Erik and Igor for their help with this change.
> 
>    JBS: https://bugs.openjdk.java.net/browse/JDK-8197906
>    WebRev: http://cr.openjdk.java.net/~mseledtsov/8197906.01/
> 
>    Testing:
>      - ran hotspot_runtime in CDS mode with this change - Linux-x64 - no new failures
>      - running several test sets in CDS mode via distributed test system - pass
>      - running pre-integration sanity testing (HS tier1, tier2) - in progress
> 
> Thank you,
> Misha
> 



More information about the hotspot-runtime-dev mailing list