<div dir="ltr"><div dir="ltr">Hi,Vladimir Kozlov<br>I hope this email finds you well. I am writing to express my gratitude for your previous advice regarding the core dump issue in our Leyden EA project. Unfortunately, despite following your recommendations, the problem persists.<br>I have uploaded the generated file to this location(<a href="https://github.com/dreamlike-ocean/leydenPlayground/blob/master/hs_err_pid52915_disable_ReduceAllocationMerges.log" target="_blank">https://github.com/dreamlike-ocean/leydenPlayground/blob/master/hs_err_pid52915_disable_ReduceAllocationMerges.log</a>). Could you please take a look and provide further guidance on resolving this issue?<br><br>Thank you in advance for your assistance.<br><br>Best regards, Dreamlike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Vladimir Kozlov <<a href="mailto:vladimir.kozlov@oracle.com">vladimir.kozlov@oracle.com</a>> 于2024年6月24日周一 22:59写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Dreamlike<br>
<br>
While we are investigating the issue, please, try next VM flags:<br>
<br>
-XX:+UnlockDiagnosticVMOptions -XX:-ReduceAllocationMerges<br>
<br>
Regards,<br>
Vladimir K<br>
<br>
On 6/24/24 12:44 AM, Sebastien Deleuze wrote:<br>
> Thanks for creating the issue Ioi.<br>
> <br>
> Dreamlike, FYI with Cache Data Store, we advise to use the same <br>
> extracted form than with Class Data Sharing instead of directly using <br>
> the executable JAR, see related documentation in <br>
> <a href="https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html" rel="noreferrer" target="_blank">https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html</a> <<a href="https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html" rel="noreferrer" target="_blank">https://docs.spring.io/spring-boot/reference/packaging/class-data-sharing.html</a>>. Otherwise you will likely not see the benefit you may expect.<br>
> <br>
> On Mon, Jun 24, 2024 at 6:07 AM <<a href="mailto:ioi.lam@oracle.com" target="_blank">ioi.lam@oracle.com</a> <br>
> <mailto:<a href="mailto:ioi.lam@oracle.com" target="_blank">ioi.lam@oracle.com</a>>> wrote:<br>
> <br>
> Thanks for reporting the issue. I have filed<br>
> <a href="https://bugs.openjdk.org/browse/JDK-8334809" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8334809</a><br>
> <<a href="https://bugs.openjdk.org/browse/JDK-8334809" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8334809</a>><br>
> <br>
> - Ioi<br>
> <br>
> On 6/21/24 11:38 PM, dreamlike_ocean lei wrote:<br>
> > Leyden-dev team:<br>
> > I am writing to report an issue I encountered while using the new<br>
> > Leyden EA build for various tests. Specifically, when generating CDS<br>
> > (Class Data Sharing) files for a Spring Boot project on Linux<br>
> x86_64,<br>
> > I encountered a core dump.<br>
> ><br>
> > Here are the details:<br>
> ><br>
> > Project repository:<br>
> > <a href="https://github.com/dreamlike-ocean/leydenPlayground" rel="noreferrer" target="_blank">https://github.com/dreamlike-ocean/leydenPlayground</a><br>
> <<a href="https://github.com/dreamlike-ocean/leydenPlayground" rel="noreferrer" target="_blank">https://github.com/dreamlike-ocean/leydenPlayground</a>> (In the project<br>
> > root directory, you will find the corresponding core dump and logs<br>
> > related to this issue.)<br>
> > Reproduction steps:<br>
> ><br>
> > 1,Navigate to the project root directory.<br>
> > 2,Execute the following build command:<br>
> > `mvn clean package -pl leyden-spring && java<br>
> > -XX:CacheDataStore=spring-leyden.cds -jar<br>
> > leyden-spring/target/leyden-spring-0.0.1.jar`<br>
> ><br>
> > I appreciate your assistance in resolving this matter. Please let me<br>
> > know if you need any additional information.<br>
> ><br>
> > use the following build toolchain:<br>
> > Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)<br>
> > Maven home: /home/dreamlike/.sdkman/candidates/maven/current<br>
> > Java version: 24-leydenpremain, vendor: Oracle Corporation, runtime:<br>
> > /home/dreamlike/jdks/leyden-jdk-24<br>
> > Default locale: zh_CN, platform encoding: UTF-8<br>
> > OS name: "linux", version: "6.8.0-31-generic", arch: "amd64",<br>
> family:<br>
> > "unix"<br>
> ><br>
> ><br>
> > Best regards, dreamlike<br>
> <br>
> <br>
> This electronic communication and the information and any files <br>
> transmitted with it, or attached to it, are confidential and are <br>
> intended solely for the use of the individual or entity to whom it is <br>
> addressed and may contain information that is confidential, legally <br>
> privileged, protected by privacy laws, or otherwise restricted from <br>
> disclosure to anyone else. If you are not the intended recipient or the <br>
> person responsible for delivering the e-mail to the intended recipient, <br>
> you are hereby notified that any use, copying, distributing, <br>
> dissemination, forwarding, printing, or copying of this e-mail is <br>
> strictly prohibited. If you received this e-mail in error, please return <br>
> the e-mail to the sender, delete it from your computer, and destroy any <br>
> printed copy of it.<br>
</blockquote></div>