<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Per,<div class=""><br class=""></div><div class="">Here is the tmpfs I ran into. Setting -XX:ZPath=/run/shm seems to work.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">[0.013s][error][gc,init] More than one tmpfs filesystem found:</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">[0.013s][error][gc,init] /run/lock</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">[0.013s][error][gc,init] /run/shm</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">[0.013s][error][gc,init] Use -XX:ZPath to specify the path to a tmpfs filesystem</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">Error: Could not create the Java Virtual Machine.</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class="">Error: A fatal exception has occurred. Program will exit.</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px;" class="">Thanks,</div><div style="margin: 0px;" class="">Jiangli</div><div style="margin: 0px; font-size: 15px; font-family: Menlo;" class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Jun 27, 2018, at 12:33 AM, Per Liden <<a href="mailto:per.liden@oracle.com" class="">per.liden@oracle.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">On 06/26/2018 11:57 PM, Jiangli Zhou wrote:<br class=""><blockquote type="cite" class="">Hi Coleen,<br class="">This looks good.<br class="">Should we also disable UseSharedSpaces at runtime for ZGC in case an archive was dumped using a different GC algorithm? I ran into tmpfs error when trying to run with ZGC, so I couldn’t double check for that case...<br class=""></blockquote><br class="">What kind of tmpfs errors? I would like to know if we have a bug somewhere or if it's user error.<br class=""><br class="">/Per<br class=""><br class=""><blockquote type="cite" class="">Thanks,<br class="">Jiangli<br class=""><blockquote type="cite" class="">On Jun 26, 2018, at 2:13 PM, <a href="mailto:coleen.phillimore@oracle.com" class="">coleen.phillimore@oracle.com</a> wrote:<br class=""><br class="">Summary: Disable CDS with ZGC<br class=""><br class="">Tested with:<br class="">java -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xshare:dump<br class="">java -XX:+UnlockExperimentalOptions -XX:+UseZGC -Xshare:on -version<br class=""><br class="">open webrev at <a href="http://cr.openjdk.java.net/~coleenp/8205702.01/webrev" class="">http://cr.openjdk.java.net/~coleenp/8205702.01/webrev</a><br class="">bug link <a href="https://bugs.openjdk.java.net/browse/JDK-8205702" class="">https://bugs.openjdk.java.net/browse/JDK-8205702</a><br class=""><br class="">Thanks,<br class="">Coleen<br class=""></blockquote></blockquote></div></blockquote></div><br class=""></div></body></html>