best practices for testing JVM changes that may interact with CDS?
harold seigel
harold.seigel at oracle.com
Thu Jul 18 12:54:18 PDT 2013
Hi John,
You could try creating a CDS region (-Xshare:dump) and then running the
JTREG harness and the hotspot JTREG tests with -Xshare:on to test this.
Unfortunately, even if your changes are fine, you will get 40+ failures
because some of the tests can't handle -Xshare:on.
Harold
On 7/18/2013 2:59 PM, John Rose wrote:
> David Chase and I are testing a JVM change that may affect the layout of vtables. I know vtables are special-cased in CDS (class data sharing) code, which dumps and reloads metadata including vtables.
>
> What is the best way to perform regression tests for changes that might interact with CDS? Is it enough to run jtreg tests? I notice that there appears to be a dump/load end-to-end test in test/runtime/SharedArchiveFile/.
>
> Thanks,
> — John
More information about the hotspot-runtime-dev
mailing list