<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello,</div>
<div> </div>
<div>I am attempting to evaluate performance improvements afforded by the Leyden CDS enhancements for an embedded application running on aarch64. The application makes extensive use of the --add-modules, --add-opens, and --add-exports command line arguments.
However, it appears that these arguments are incompatible with the -XX:CacheDataStore option, as their use results in errors similar to the following: </div>
<div> </div>
<div>[0.004s][warning][cds] optimized module handling/full module graph: disabled due to incompatible property: jdk.module.addopens=java.base/java.nio=org.apache.tomcat.embed.core<br>
Error occurred during initialization of VM<br>
CacheDataStore cannot be created because AOTClassLinking is enabled but full module graph is disabled</div>
<div> </div>
<div>Is this the expected behavior? If yes, is there a workaround or a plan to support these options in the future?</div>
<div> </div>
<div> </div>
<div>Thanks, </div>
<div> </div>
<div>Jeff Boyce</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>