<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>Here is the runtime part of the bug fix that calls the new free_archive_regions() when shared string mapping fails. I also added a jtreg test to test shared strings with -Xshare:auto.</div><div><br></div><div> <a href="http://cr.openjdk.java.net/~jiangli/8131734/webrev.00/">http://cr.openjdk.java.net/~jiangli/8131734/webrev.00/</a></div><div><br></div><div>Test:</div><div>- Tested by explicitly making the shared string mapping fail on linux-x64, -Xshare:auto runs without crash with the fix</div><div>- Tested with the new SharedStringsRunAuto test</div><div>- Tested with <span style="font-family: Menlo; font-size: 11px;">XX:+PrintNMTStatistics -XX:NativeMemoryTracking=detail</span></div><div><span style="font-family: Menlo; font-size: 11px;"><br></span></div><div><span style="font-family: Menlo; font-size: 11px;">Thanks,</span></div><div><span style="font-family: Menlo; font-size: 11px;">Jiangli</span></div></body></html>