RFR (M): 8015324 : Create tests for CDS feature

Christian Tornqvist christian.tornqvist at oracle.com
Wed Jun 12 13:22:36 PDT 2013

Looks good!





From: hotspot-runtime-dev-bounces at openjdk.java.net
[mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Mikhailo
Sent: den 6 juni 2013 16:27
To: hotspot-runtime-dev at openjdk.java.net
Subject: RFR (M): 8015324 : Create tests for CDS feature




Could you, please, review this change? 






This is a first round of tests for the CDS feature. Specifically, testing
how this 

feature works with varying ObjectAlignmentInBytes command line option, since
this option

has an impact on the CDS function. 



One positive test - making sure that CDS archive can be created and loaded
at varying

practical values of ObjectAlignmentInBytes. 


Second test is negative - making sure VM fails gracefully when loading CDS
archive at

object alignment that is different from what was used for archive creation,
and reports error correctly.


Also some improvements to the test utilities relevant for this test - 

courtesy of Christian. 



This change is sponsored by Christian. 


Thank you,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130612/1d7930d7/attachment.html 

More information about the hotspot-runtime-dev mailing list