generate cds file for springboot project,but core dump

ioi.lam at oracle.com ioi.lam at oracle.com
Mon Jun 24 04:07:15 UTC 2024


Thanks for reporting the issue. I have filed 
https://bugs.openjdk.org/browse/JDK-8334809

- Ioi

On 6/21/24 11:38 PM, dreamlike_ocean lei wrote:
> Leyden-dev team:
>  I am writing to report an issue I encountered while using the new 
> Leyden EA build for various tests. Specifically, when generating CDS 
> (Class Data Sharing) files for a Spring Boot project on Linux x86_64, 
> I encountered a core dump.
>
> Here are the details:
>
> Project repository: 
> https://github.com/dreamlike-ocean/leydenPlayground (In the project 
> root directory, you will find the corresponding core dump and logs 
> related to this issue.)
> Reproduction steps:
>
> 1,Navigate to the project root directory.
> 2,Execute the following build command:
>  `mvn clean package -pl leyden-spring && java 
> -XX:CacheDataStore=spring-leyden.cds -jar 
> leyden-spring/target/leyden-spring-0.0.1.jar`
>
> I appreciate your assistance in resolving this matter. Please let me 
> know if you need any additional information.
>
> use the following build toolchain:
> Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
> Maven home: /home/dreamlike/.sdkman/candidates/maven/current
> Java version: 24-leydenpremain, vendor: Oracle Corporation, runtime: 
> /home/dreamlike/jdks/leyden-jdk-24
> Default locale: zh_CN, platform encoding: UTF-8
> OS name: "linux", version: "6.8.0-31-generic", arch: "amd64", family: 
> "unix"
>
>
> Best regards, dreamlike


More information about the leyden-dev mailing list